summaryrefslogtreecommitdiffstats
path: root/examples/widgets
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2012-07-10 16:13:06 +0200
committerQt by Nokia <qt-info@nokia.com>2012-07-10 22:24:40 +0200
commitb1909fe1184860902fe279bb1184d3d9fa3c4c57 (patch)
tree196765371455f22a7eb8afe6ec942b0b591cd21a /examples/widgets
parentd3ff621a579e62a2c772137e79bb9ee16f8dce48 (diff)
qtbase: Add missing example installs and files.
Change-Id: I071fd862e001b766c9fb13106242edf23a608663 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Diffstat (limited to 'examples/widgets')
-rw-r--r--examples/widgets/applicationicon/applicationicon.pro6
-rw-r--r--examples/widgets/elidedlabel/elidedlabel.pro7
-rw-r--r--examples/widgets/orientation/orientation.pro5
3 files changed, 16 insertions, 2 deletions
diff --git a/examples/widgets/applicationicon/applicationicon.pro b/examples/widgets/applicationicon/applicationicon.pro
index 6b14644e12..0a3ba8bbdd 100644
--- a/examples/widgets/applicationicon/applicationicon.pro
+++ b/examples/widgets/applicationicon/applicationicon.pro
@@ -9,3 +9,9 @@ SOURCES += main.cpp
OTHER_FILES += applicationicon.svg \
applicationicon.png \
applicationicon.desktop
+
+# install
+target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/applicationicon
+sources.files = $$SOURCES $$HEADERS applicationicon.svg applicationicon.png *.pro
+sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/applicationicon
+INSTALLS += target sources
diff --git a/examples/widgets/elidedlabel/elidedlabel.pro b/examples/widgets/elidedlabel/elidedlabel.pro
index 1e391d9a5d..f3fbc23d96 100644
--- a/examples/widgets/elidedlabel/elidedlabel.pro
+++ b/examples/widgets/elidedlabel/elidedlabel.pro
@@ -14,5 +14,8 @@ HEADERS += \
testwidget.h \
elidedlabel.h
-CONFIG += mobility
-MOBILITY =
+# install
+target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/elidedlabel
+sources.files = $$SOURCES $$HEADERS *.pro
+sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/elidedlabel
+INSTALLS += target sources
diff --git a/examples/widgets/orientation/orientation.pro b/examples/widgets/orientation/orientation.pro
index 2334cb0005..36a3e91a9c 100644
--- a/examples/widgets/orientation/orientation.pro
+++ b/examples/widgets/orientation/orientation.pro
@@ -22,5 +22,10 @@ FORMS += \
RESOURCES += \
images.qrc
+# install
+target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/orientation
+sources.files = $$SOURCES $$HEADERS $$FORMS $$RESOURCES *.png *.pro
+sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/widgets/orientation
+INSTALLS += target sources
simulator: warning(This example might not fully work on Simulator platform)