586adeabe4
this is much more elegant than the so far propagated !isEmpty(QT.foo.name). also replace feature-specific tests (no-gui and no-widgets) and the obsolete contains(QT_CONFIG, foo) syntax. Change-Id: Ia4b3c8febcabf9eeca67b1f9173a523820b1038b Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com> Reviewed-by: Tasuku Suzuki <stasuku@gmail.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
20 lines
392 B
Prolog
20 lines
392 B
Prolog
RESOURCES += images.qrc
|
|
|
|
HEADERS += mainwindow.h view.h chip.h
|
|
SOURCES += main.cpp
|
|
SOURCES += mainwindow.cpp view.cpp chip.cpp
|
|
|
|
QT += widgets
|
|
qtHaveModule(printsupport): QT += printsupport
|
|
qtHaveModule(opengl): QT += opengl
|
|
|
|
build_all:!build_pass {
|
|
CONFIG -= build_all
|
|
CONFIG += release
|
|
}
|
|
|
|
# install
|
|
target.path = $$[QT_INSTALL_EXAMPLES]/widgets/graphicsview/chip
|
|
INSTALLS += target
|
|
|