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>
24 lines
610 B
Prolog
24 lines
610 B
Prolog
HEADERS = mainwindow.h \
|
|
diagramitem.h \
|
|
diagramscene.h \
|
|
arrow.h \
|
|
diagramtextitem.h
|
|
SOURCES = mainwindow.cpp \
|
|
diagramitem.cpp \
|
|
main.cpp \
|
|
arrow.cpp \
|
|
diagramtextitem.cpp \
|
|
diagramscene.cpp
|
|
RESOURCES = diagramscene.qrc
|
|
|
|
|
|
# install
|
|
target.path = $$[QT_INSTALL_EXAMPLES]/widgets/graphicsview/diagramscene
|
|
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS diagramscene.pro images
|
|
sources.path = $$[QT_INSTALL_EXAMPLES]/widgets/graphicsview/diagramscene
|
|
INSTALLS += target sources
|
|
|
|
|
|
QT += widgets
|
|
simulator: warning(This example might not fully work on Simulator platform)
|