c527dd44be
This makes the structure of the examples after an 'make install' similar to the one in a 'developer build'. Change-Id: I9120bd741fab332e64e30adc01cefe87e5633454 Reviewed-by: Martin Smith <martin.smith@digia.com>
44 lines
928 B
Prolog
44 lines
928 B
Prolog
QT += widgets
|
|
contains(QT_CONFIG, 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
|
|
sources.files = $$SOURCES \
|
|
$$HEADERS \
|
|
$$RESOURCES \
|
|
$$FORMS \
|
|
sub-attaq.pro \
|
|
pics \
|
|
data.xml
|
|
sources.path = $$[QT_INSTALL_EXAMPLES]/widgets/animation/sub-attaq
|
|
INSTALLS += target \
|
|
sources
|