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>
16 lines
341 B
Prolog
16 lines
341 B
Prolog
TEMPLATE = app
|
|
QT += widgets
|
|
|
|
HEADERS += colorswatch.h mainwindow.h toolbar.h
|
|
SOURCES += colorswatch.cpp mainwindow.cpp toolbar.cpp main.cpp
|
|
build_all:!build_pass {
|
|
CONFIG -= build_all
|
|
CONFIG += release
|
|
}
|
|
|
|
RESOURCES += mainwindow.qrc
|
|
|
|
# install
|
|
target.path = $$[QT_INSTALL_EXAMPLES]/widgets/mainwindows/mainwindow
|
|
INSTALLS += target
|