diff options
-rw-r--r-- | examples/effects/fademessage/fademessage.pro | 3 | ||||
-rw-r--r-- | examples/graphicsview/flowlayout/flowlayout.pro | 6 | ||||
-rw-r--r-- | examples/network/bearermonitor/bearermonitor.pro | 5 | ||||
-rw-r--r-- | examples/opengl/cube/cube.pro | 5 | ||||
-rw-r--r-- | examples/widgets/applicationicon/applicationicon.pro | 6 | ||||
-rw-r--r-- | examples/widgets/elidedlabel/elidedlabel.pro | 7 | ||||
-rw-r--r-- | examples/widgets/orientation/orientation.pro | 5 |
7 files changed, 34 insertions, 3 deletions
diff --git a/examples/effects/fademessage/fademessage.pro b/examples/effects/fademessage/fademessage.pro index c40ee76a2c..98161e0be4 100644 --- a/examples/effects/fademessage/fademessage.pro +++ b/examples/effects/fademessage/fademessage.pro @@ -9,7 +9,8 @@ sources.files = $$SOURCES \ $$HEADERS \ $$RESOURCES \ $$FORMS \ - fademessage.pro + fademessage.pro \ + background.jpg sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/effects/fademessage diff --git a/examples/graphicsview/flowlayout/flowlayout.pro b/examples/graphicsview/flowlayout/flowlayout.pro index 4a4b22bcf7..5f69a74d60 100644 --- a/examples/graphicsview/flowlayout/flowlayout.pro +++ b/examples/graphicsview/flowlayout/flowlayout.pro @@ -5,4 +5,10 @@ QMAKE_PROJECT_NAME = flowlayout_graphicsview HEADERS += flowlayout.h window.h SOURCES += flowlayout.cpp main.cpp window.cpp +# install +target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/graphicsview/flowlayout +sources.files = $$SOURCES $$HEADERS *.pro +sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/graphicsview/flowlayout +INSTALLS += target sources + simulator: warning(This example might not fully work on Simulator platform) diff --git a/examples/network/bearermonitor/bearermonitor.pro b/examples/network/bearermonitor/bearermonitor.pro index c8ae6d6d9e..e45cb6334b 100644 --- a/examples/network/bearermonitor/bearermonitor.pro +++ b/examples/network/bearermonitor/bearermonitor.pro @@ -17,3 +17,8 @@ wince*:LIBS += -lws2 CONFIG += console +# install +target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/network/bearermonitor +sources.files = $$SOURCES $$HEADERS *.ui *.pro +sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/network/bearermonitor +INSTALLS += target sources diff --git a/examples/opengl/cube/cube.pro b/examples/opengl/cube/cube.pro index 98a3082340..ad84450d0b 100644 --- a/examples/opengl/cube/cube.pro +++ b/examples/opengl/cube/cube.pro @@ -24,5 +24,10 @@ contains(QT_CONFIG, opengl) { fshader.glsl } +# install +target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/opengl/cube +sources.files = $$SOURCES $$HEADERS $$RESOURCES cube.png *.glsl *.pro +sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/opengl/cube +INSTALLS += target sources simulator: warning(This example might not fully work on Simulator platform) 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) |