2ac3f92296
move QT+=widgets (and printsupport) statements before the install statements, and de-duplicate some cases. also move some TARGET assignments to a more conventional place. Change-Id: I6140d8611680f66c24490e5894e4eb90cae95635 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
24 lines
594 B
Prolog
24 lines
594 B
Prolog
#! [0]
|
|
QT += widgets
|
|
|
|
HEADERS = interfaces.h \
|
|
mainwindow.h \
|
|
paintarea.h \
|
|
plugindialog.h
|
|
SOURCES = main.cpp \
|
|
mainwindow.cpp \
|
|
paintarea.cpp \
|
|
plugindialog.cpp
|
|
|
|
LIBS = -Lplugins -lpnp_basictools
|
|
|
|
if(!debug_and_release|build_pass):CONFIG(debug, debug|release) {
|
|
mac:LIBS = $$member(LIBS, 0) $$member(LIBS, 1)_debug
|
|
win32:LIBS = $$member(LIBS, 0) $$member(LIBS, 1)d
|
|
}
|
|
#! [0]
|
|
|
|
# install
|
|
target.path = $$[QT_INSTALL_EXAMPLES]/tools/plugandpaint
|
|
INSTALLS += target
|