Hi,
I'm trying to build a widget library. If I type:
>> qmake -project "TEMPLATE = lib" MyProject.pro .
>> qmake -project "TEMPLATE = lib" MyProject.pro .
To copy to clipboard, switch view to plain text mode
The result is:
TEMPLATE = lib
TEMPLATE = app
TARGET =
DEPENDPATH += .
INCLUDEPATH += .
# Input
HEADERS += MyProjectImpl.h
FORMS += MyProject.ui
SOURCES += MyProjectImpl.cpp
TEMPLATE = lib
TEMPLATE = app
TARGET =
DEPENDPATH += .
INCLUDEPATH += .
# Input
HEADERS += MyProjectImpl.h
FORMS += MyProject.ui
SOURCES += MyProjectImpl.cpp
To copy to clipboard, switch view to plain text mode
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]
Bookmarks