centralize and fixup example sources install targets
authorOswald Buddenhagen <oswald.buddenhagen@digia.com>
Wed, 28 Nov 2012 15:06:45 +0000 (16:06 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 28 Nov 2012 21:15:49 +0000 (22:15 +0100)
follow respective change in qtbase

Change-Id: I6e892deb9fa3868579e9c556fbcf00cc7bc6145c
Reviewed-by: hjk <qthjk@ovi.com>
16 files changed:
examples/designer/arthurplugin/arthurplugin.pro
examples/designer/calculatorbuilder/calculatorbuilder.pro
examples/designer/calculatorform/calculatorform.pro
examples/designer/containerextension/containerextension.pro
examples/designer/customwidgetplugin/customwidgetplugin.pro
examples/designer/designer.pro
examples/designer/taskmenuextension/taskmenuextension.pro
examples/designer/worldtimeclockbuilder/worldtimeclockbuilder.pro
examples/designer/worldtimeclockplugin/worldtimeclockplugin.pro
examples/help/contextsensitivehelp/contextsensitivehelp.pro
examples/help/help.pro
examples/help/remotecontrol/remotecontrol.pro
examples/help/simpletextviewer/simpletextviewer.pro
examples/uitools/multipleinheritance/multipleinheritance.pro
examples/uitools/textfinder/textfinder.pro
examples/uitools/uitools.pro

index d7d05f0..57cfd36 100644 (file)
@@ -51,11 +51,6 @@ HEADERS = \
 
 RESOURCES += arthur_plugin.qrc
 
-# install
-sources.files = $$SOURCES $$HEADERS $$RESOURCES *.pro *.jpg *.png
-sources.path = $$[QT_INSTALL_EXAMPLES]/qttools/designer/arthurplugin
-INSTALLS += sources
-
 win32-msvc* {
     QMAKE_CFLAGS += /Zm500
     QMAKE_CXXFLAGS += /Zm500
index 98e3486..4294a8a 100644 (file)
@@ -8,6 +8,4 @@ QT += widgets uitools
 
 # install
 target.path = $$[QT_INSTALL_EXAMPLES]/qttools/designer/calculatorbuilder
-sources.files = $$SOURCES $$HEADERS $$RESOURCES *.ui *.pro
-sources.path = $$[QT_INSTALL_EXAMPLES]/qttools/designer/calculatorbuilder
-INSTALLS += target sources
+INSTALLS += target
index e7cbf98..9d3c635 100644 (file)
@@ -9,6 +9,4 @@ QT += widgets
 
 # install
 target.path = $$[QT_INSTALL_EXAMPLES]/qttools/designer/calculatorform
-sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS *.pro
-sources.path = $$[QT_INSTALL_EXAMPLES]/qttools/designer/calculatorform
-INSTALLS += target sources
+INSTALLS += target
index 524b05b..0c78c97 100644 (file)
@@ -34,9 +34,3 @@ SOURCES += multipagewidget.cpp \
 
 OTHER_FILES += multipagewidget.json
 #! [2]
-
-# install
-sources.files = $$SOURCES $$HEADERS *.pro multipagewidget.json
-sources.path = $$[QT_INSTALL_EXAMPLES]/qttools/designer/containerextension
-INSTALLS += sources
-
index ffcee4e..fd0ef61 100644 (file)
@@ -28,8 +28,3 @@ SOURCES     = analogclock.cpp \
               customwidgetplugin.cpp
 OTHER_FILES += analogclock.json
 #! [3]
-
-# install
-sources.files = $$SOURCES $$HEADERS *.pro analogclock.json
-sources.path = $$[QT_INSTALL_EXAMPLES]/qttools/designer/customwidgetplugin
-INSTALLS += sources
index f026394..348b684 100644 (file)
@@ -11,9 +11,3 @@ SUBDIRS     = calculatorform
 # the sun cc compiler has a problem with the include lines for the form.prf
 solaris-cc*:SUBDIRS -= calculatorbuilder \
                       worldtimeclockbuilder
-                    
-
-# install
-sources.files = README *.pro
-sources.path = $$[QT_INSTALL_EXAMPLES]/qttools/designer
-INSTALLS += sources
index e7ff5c6..685697f 100644 (file)
@@ -32,8 +32,3 @@ SOURCES += tictactoe.cpp \
            tictactoetaskmenu.cpp
 OTHER_FILES += tictactoe.json
 #! [2]
-
-# install
-sources.files = $$SOURCES $$HEADERS *.pro tictactoe.json
-sources.path = $$[QT_INSTALL_EXAMPLES]/qttools/designer/taskmenuextension
-INSTALLS += sources
index 180d7a3..eb1e3b7 100644 (file)
@@ -6,6 +6,4 @@ RESOURCES   = worldtimeclockbuilder.qrc
 
 # install
 target.path = $$[QT_INSTALL_EXAMPLES]/qttools/designer/worldtimeclockbuilder
-sources.files = $$SOURCES $$HEADERS $$RESOURCES *.ui *.pro
-sources.path = $$[QT_INSTALL_EXAMPLES]/qttools/designer/worldtimeclockbuilder
-INSTALLS += target sources
+INSTALLS += target
index 8e69ddc..1f4301e 100644 (file)
@@ -26,8 +26,3 @@ HEADERS     = worldtimeclock.h \
 SOURCES     = worldtimeclock.cpp \
               worldtimeclockplugin.cpp
 #! [2]
-
-# install
-sources.files = $$SOURCES $$HEADERS *.pro worldtimeclock.json
-sources.path = $$[QT_INSTALL_EXAMPLES]/qttools/designer/worldtimeclockplugin
-INSTALLS += sources
index 95df7d9..4f3da52 100644 (file)
@@ -12,6 +12,4 @@ FORMS   += wateringconfigdialog.ui
 
 # install
 target.path = $$[QT_INSTALL_EXAMPLES]/qttools/help/contextsensitivehelp
-sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS *.pro *.png *.doc doc
-sources.path = $$[QT_INSTALL_EXAMPLES]/qttools/help/contextsensitivehelp
-INSTALLS += target sources
+INSTALLS += target
index e0d19e6..5a4eb2a 100644 (file)
@@ -4,8 +4,3 @@ CONFIG  += ordered
 SUBDIRS += contextsensitivehelp \
            remotecontrol \
            simpletextviewer
-
-# install
-sources.files = README *.pro
-sources.path = $$[QT_INSTALL_EXAMPLES]/qttools/help
-INSTALLS += sources
index e972857..593c870 100644 (file)
@@ -9,7 +9,5 @@ RESOURCES += remotecontrol.qrc
 
 # install
 target.path = $$[QT_INSTALL_EXAMPLES]/qttools/help/remotecontrol
-sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS *.pro *.png *.doc doc
-sources.path = $$[QT_INSTALL_EXAMPLES]/qttools/help/remotecontrol
-INSTALLS += target sources
+INSTALLS += target
 
index 33dc728..232b859 100644 (file)
@@ -12,6 +12,4 @@ QT += widgets
 
 # install
 target.path = $$[QT_INSTALL_EXAMPLES]/qttools/help/simpletextviewer
-sources.files = $$SOURCES $$HEADERS $$RESOURCES documentation *.pro
-sources.path = $$[QT_INSTALL_EXAMPLES]/qttools/help/simpletextviewer
-INSTALLS += target sources
+INSTALLS += target
index b967c33..cabdefd 100644 (file)
@@ -6,8 +6,6 @@ FORMS = calculatorform.ui
 
 # install
 target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/uitools/multipleinheritance
-sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS *.pro
-sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/uitools/multipleinheritance
-INSTALLS += target sources
+INSTALLS += target
 
 QT += widgets
index 48eaa41..5430962 100644 (file)
@@ -4,8 +4,6 @@ SOURCES         = textfinder.cpp main.cpp
 
 # install
 target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/uitools/textfinder
-sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS *.pro forms
-sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/uitools/textfinder
-INSTALLS += target sources
+INSTALLS += target
 
 QT += widgets uitools
index 04cf4ba..659e653 100644 (file)
@@ -3,10 +3,4 @@ SUBDIRS       = multipleinheritance
 
 !wince*:contains(QT_BUILD_PARTS, tools): SUBDIRS += textfinder
 
-# install
-target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/uitools
-sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS uitools.pro README
-sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/uitools
-INSTALLS += target sources
-
 QT += widgets