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>
19 lines
507 B
Prolog
19 lines
507 B
Prolog
LANCELOT_DIR = $$PWD/../../auto/other/lancelot
|
|
CONFIG+=console moc
|
|
TEMPLATE = app
|
|
INCLUDEPATH += . $$LANCELOT_DIR
|
|
QT += core-private gui-private widgets printsupport
|
|
|
|
HEADERS += widgets.h \
|
|
interactivewidget.h \
|
|
$$LANCELOT_DIR/paintcommands.h
|
|
SOURCES += interactivewidget.cpp \
|
|
main.cpp \
|
|
$$LANCELOT_DIR/paintcommands.cpp
|
|
RESOURCES += icons.qrc \
|
|
$$LANCELOT_DIR/images.qrc
|
|
|
|
qtHaveModule(opengl): QT += opengl
|
|
|
|
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|