qt5base-lts/examples/widgets/animation/sub-attaq/sub-attaq.pro
Oswald Buddenhagen 586adeabe4 add and use qtHaveModule() function
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>
2012-12-21 19:05:02 +01:00

35 lines
721 B
Prolog

QT += widgets
qtHaveModule(opengl): QT += opengl
HEADERS += boat.h \
bomb.h \
mainwindow.h \
submarine.h \
torpedo.h \
pixmapitem.h \
graphicsscene.h \
animationmanager.h \
states.h \
boat_p.h \
submarine_p.h \
qanimationstate.h \
progressitem.h \
textinformationitem.h
SOURCES += boat.cpp \
bomb.cpp \
main.cpp \
mainwindow.cpp \
submarine.cpp \
torpedo.cpp \
pixmapitem.cpp \
graphicsscene.cpp \
animationmanager.cpp \
states.cpp \
qanimationstate.cpp \
progressitem.cpp \
textinformationitem.cpp
RESOURCES += subattaq.qrc
# install
target.path = $$[QT_INSTALL_EXAMPLES]/widgets/animation/sub-attaq
INSTALLS += target