Paladin12
3rd July 2008, 15:30
Hi,
I'm trying to build a widget library. If I type:
>> qmake -project "TEMPLATE = lib" MyProject.pro .
The result is:
TEMPLATE = lib
TEMPLATE = app
TARGET =
DEPENDPATH += .
INCLUDEPATH += .
# Input
HEADERS += MyProjectImpl.h
FORMS += MyProject.ui
SOURCES += MyProjectImpl.cpp
As you can see there are two 'TEMPLATE' entries when there should only be one and this breaks my build. The 'TEMPLATE = app' line should be absent.
Is this a bug or am I using the command line incorrectly?
[Windows XP SP2, Qt4.4]
I'm trying to build a widget library. If I type:
>> qmake -project "TEMPLATE = lib" MyProject.pro .
The result is:
TEMPLATE = lib
TEMPLATE = app
TARGET =
DEPENDPATH += .
INCLUDEPATH += .
# Input
HEADERS += MyProjectImpl.h
FORMS += MyProject.ui
SOURCES += MyProjectImpl.cpp
As you can see there are two 'TEMPLATE' entries when there should only be one and this breaks my build. The 'TEMPLATE = app' line should be absent.
Is this a bug or am I using the command line incorrectly?
[Windows XP SP2, Qt4.4]