summaryrefslogtreecommitdiffstats
path: root/examples/charts/callout/callout.pro
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@theqtcompany.com>2016-05-11 19:11:32 +0200
committerMiikka Heikkinen <miikka.heikkinen@qt.io>2016-08-01 12:13:39 +0000
commita0e9e3bcf9d33372728a06292cc9f138a9662572 (patch)
tree2d336f41efe1e4d9e144e8a8df27d00f70f4dd39 /examples/charts/callout/callout.pro
parentd137ae33ccf01882f80770919b1daa199dec7019 (diff)
Cleanup examples build system
Make the examples self-contained and follow the way examples are compiled in other modules, so they can be easly opened by qtc. Change-Id: I664ba3dc21630ced5b1d14ad878a70eac0763c84 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Diffstat (limited to 'examples/charts/callout/callout.pro')
-rw-r--r--examples/charts/callout/callout.pro20
1 files changed, 9 insertions, 11 deletions
diff --git a/examples/charts/callout/callout.pro b/examples/charts/callout/callout.pro
index b0da66d6..688b69e9 100644
--- a/examples/charts/callout/callout.pro
+++ b/examples/charts/callout/callout.pro
@@ -1,15 +1,13 @@
-!include( ../examples.pri ) {
- error( "Couldn't find the examples.pri file!" )
-}
+QT += charts
-TARGET = callout
-TEMPLATE = app
+HEADERS += \
+ callout.h \
+ view.h
SOURCES += \
- main.cpp\
- callout.cpp \
- view.cpp
+ callout.cpp \
+ main.cpp\
+ view.cpp
-HEADERS += \
- callout.h \
- view.h
+target.path = $$[QT_INSTALL_EXAMPLES]/charts/callout
+INSTALLS += target