From b1909fe1184860902fe279bb1184d3d9fa3c4c57 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Tue, 10 Jul 2012 16:13:06 +0200 Subject: qtbase: Add missing example installs and files. Change-Id: I071fd862e001b766c9fb13106242edf23a608663 Reviewed-by: Oswald Buddenhagen --- examples/widgets/applicationicon/applicationicon.pro | 6 ++++++ examples/widgets/elidedlabel/elidedlabel.pro | 7 +++++-- examples/widgets/orientation/orientation.pro | 5 +++++ 3 files changed, 16 insertions(+), 2 deletions(-) (limited to 'examples/widgets') 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) -- cgit v1.2.3