k.qasempour
27th August 2012, 06:44
hi all... Im trying to build a .lib file from my C++ library project in qt. So from >>>"other projects" i choose the >>>C++ library Project and then i set the type-combobox to >>> statical linked library
.... when i build the project i expect that there would be a .lib file in debug folder >> debug .... but there was just to file with .a and .o .....
who knows whats the problem?
Im using:
Windows 7 ultimate - 64bit
Qt creator 2.4.1
beside Qt 4.8.1 for desktop_ mingW
Many thanks
here is the .pro file ::
QT -= gui
TARGET = untitled
TEMPLATE = lib
CONFIG += staticlib
SOURCES += untitled.cpp
HEADERS += untitled.h
unix:!symbian {
maemo5 {
target.path = /opt/usr/lib
} else {
target.path = /usr/lib
}
INSTALLS += target
}
.... when i build the project i expect that there would be a .lib file in debug folder >> debug .... but there was just to file with .a and .o .....
who knows whats the problem?
Im using:
Windows 7 ultimate - 64bit
Qt creator 2.4.1
beside Qt 4.8.1 for desktop_ mingW
Many thanks
here is the .pro file ::
QT -= gui
TARGET = untitled
TEMPLATE = lib
CONFIG += staticlib
SOURCES += untitled.cpp
HEADERS += untitled.h
unix:!symbian {
maemo5 {
target.path = /opt/usr/lib
} else {
target.path = /usr/lib
}
INSTALLS += target
}