diff options
author | Oswald Buddenhagen <oswald.buddenhagen@digia.com> | 2012-11-27 20:40:16 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-11-29 20:21:11 +0100 |
commit | aeb036ed8715d0c099d3dca87f7def4dbaf8e9b4 (patch) | |
tree | 95a679c8b456c61bc108e1a68b0aced288313df6 /examples/gestures | |
parent | 12dcab77a7248268c58c2c5431c2c237e14d1089 (diff) |
centralize and fixup example sources install targets
it's confusing for the users if the examples' project files contain code
to install their own sources. also, this constitutes an enormous code
duplication, and lots of mistakes. consequently, automate it.
more or less as a side effect, this also removes the entirely meaningless
target installs in subdirs projects.
Task-number: QTBUG-28184
Change-Id: I9fc1367a06db9e2c46aeb67d68729a4f67163ef9
Reviewed-by: hjk <qthjk@ovi.com>
Diffstat (limited to 'examples/gestures')
-rw-r--r-- | examples/gestures/gestures.pro | 5 | ||||
-rw-r--r-- | examples/gestures/imagegestures/imagegestures.pro | 9 |
2 files changed, 1 insertions, 13 deletions
diff --git a/examples/gestures/gestures.pro b/examples/gestures/gestures.pro index a0068f9235..678fbc5829 100644 --- a/examples/gestures/gestures.pro +++ b/examples/gestures/gestures.pro @@ -3,9 +3,4 @@ TEMPLATE = \ SUBDIRS = \ imagegestures -# install -target.path = $$[QT_INSTALL_EXAMPLES]/gestures -sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS gestures.pro README -sources.path = $$[QT_INSTALL_EXAMPLES]/gestures -INSTALLS += target sources QT += widgets diff --git a/examples/gestures/imagegestures/imagegestures.pro b/examples/gestures/imagegestures/imagegestures.pro index 8b5c0632ba..7844cc2ea1 100644 --- a/examples/gestures/imagegestures/imagegestures.pro +++ b/examples/gestures/imagegestures/imagegestures.pro @@ -6,14 +6,7 @@ SOURCES = imagewidget.cpp \ # install target.path = $$[QT_INSTALL_EXAMPLES]/gestures/imagegestures -sources.files = $$SOURCES \ - $$HEADERS \ - $$RESOURCES \ - $$FORMS \ - imagegestures.pro -sources.path = $$[QT_INSTALL_EXAMPLES]/gestures/imagegestures -INSTALLS += target \ - sources +INSTALLS += target QT += widgets |