qt5base-lts/examples/widgets/graphicsview/graphicsview.pro
hjk c527dd44be Examples: Install to $$[QT_INSTALL_EXAMPLES]/$submodule/$example
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>
2012-11-26 14:35:23 +01:00

29 lines
870 B
Prolog

TEMPLATE = subdirs
SUBDIRS = \
chip \
elasticnodes \
embeddeddialogs \
collidingmice \
padnavigator \
basicgraphicslayouts \
diagramscene \
dragdroprobot \
flowlayout \
anchorlayout \
simpleanchorlayout \
weatheranchorlayout
contains(DEFINES, QT_NO_CURSOR)|contains(DEFINES, QT_NO_DRAGANDDROP): SUBDIRS -= dragdroprobot
contains(QT_CONFIG, opengl):!contains(QT_CONFIG, opengles1):!contains(QT_CONFIG, opengles2):{
SUBDIRS += boxes
}
# install
target.path = $$[QT_INSTALL_EXAMPLES]/widgets/graphicsview
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS graphicsview.pro README
sources.path = $$[QT_INSTALL_EXAMPLES]/widgets/graphicsview
INSTALLS += target sources
QT += widgets