summaryrefslogtreecommitdiffstats
path: root/examples/charts/legend/legend.pro
diff options
context:
space:
mode:
Diffstat (limited to 'examples/charts/legend/legend.pro')
-rw-r--r--examples/charts/legend/legend.pro15
1 files changed, 8 insertions, 7 deletions
diff --git a/examples/charts/legend/legend.pro b/examples/charts/legend/legend.pro
index 5e22fb2a..5e832ed8 100644
--- a/examples/charts/legend/legend.pro
+++ b/examples/charts/legend/legend.pro
@@ -1,10 +1,11 @@
-!include( ../examples.pri ) {
- error( "Couldn't find the examples.pri file!" )
-}
-
-TARGET = legend
-SOURCES += main.cpp \
- mainwidget.cpp
+QT += charts
HEADERS += \
mainwidget.h
+
+SOURCES += \
+ main.cpp \
+ mainwidget.cpp
+
+target.path = $$[QT_INSTALL_EXAMPLES]/charts/legend
+INSTALLS += target