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/dbus/complexpingpong | |
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/dbus/complexpingpong')
-rw-r--r-- | examples/dbus/complexpingpong/complexping.pro | 4 | ||||
-rw-r--r-- | examples/dbus/complexpingpong/complexpong.pro | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/examples/dbus/complexpingpong/complexping.pro b/examples/dbus/complexpingpong/complexping.pro index 0f9f37044f..dc9c644fcc 100644 --- a/examples/dbus/complexpingpong/complexping.pro +++ b/examples/dbus/complexpingpong/complexping.pro @@ -5,8 +5,6 @@ HEADERS += complexping.h ping-common.h SOURCES += complexping.cpp target.path = $$[QT_INSTALL_EXAMPLES]/dbus/complexpingpong -sources.files = $$SOURCES $$HEADERS $$RESOURCES *.pro -sources.path = $$[QT_INSTALL_EXAMPLES]/dbus/complexpingpong -INSTALLS += target sources +INSTALLS += target simulator: warning(This example does not work on Simulator platform) diff --git a/examples/dbus/complexpingpong/complexpong.pro b/examples/dbus/complexpingpong/complexpong.pro index dede78026a..5816f21784 100644 --- a/examples/dbus/complexpingpong/complexpong.pro +++ b/examples/dbus/complexpingpong/complexpong.pro @@ -5,8 +5,6 @@ HEADERS += complexpong.h SOURCES += complexpong.cpp target.path = $$[QT_INSTALL_EXAMPLES]/dbus/complexpingpong -sources.files = $$SOURCES $$HEADERS $$RESOURCES *.pro -sources.path = $$[QT_INSTALL_EXAMPLES]/dbus/complexpingpong -INSTALLS += target sources +INSTALLS += target simulator: warning(This example does not work on Simulator platform) |