diff options
author | Christian Kandeler <christian.kandeler@digia.com> | 2012-11-22 11:33:28 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-11-22 14:10:05 +0100 |
commit | aba67cc3f020f03d8ed8ef5303d413044031bc58 (patch) | |
tree | 7eedf57d46e6d1cb0223d8e6e455011cf914a0f1 /examples/localstorage | |
parent | 8fc95e65e77328c995ef4a3a633a95c86f5e0bdf (diff) |
Fix installation of examples.
Enable examples to be built in the target tree. This entails installing
the project files and possibly other missing stuff.
Task-number: QTBUG-27977
Change-Id: I159fd8e3ebc7077e1d68e085c4947acc058ce594
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: hjk <qthjk@ovi.com>
Diffstat (limited to 'examples/localstorage')
-rw-r--r-- | examples/localstorage/localstorage.pro | 5 | ||||
-rw-r--r-- | examples/localstorage/localstorage/localstorage.pro | 8 |
2 files changed, 10 insertions, 3 deletions
diff --git a/examples/localstorage/localstorage.pro b/examples/localstorage/localstorage.pro index dd2eb80250..d9058700ff 100644 --- a/examples/localstorage/localstorage.pro +++ b/examples/localstorage/localstorage.pro @@ -1,2 +1,7 @@ TEMPLATE = subdirs SUBDIRS += localstorage + +# install +sources.files = localstorage.pro +sources.path = $$[QT_INSTALL_EXAMPLES]/qtquick/localstorage +INSTALLS += sources diff --git a/examples/localstorage/localstorage/localstorage.pro b/examples/localstorage/localstorage/localstorage.pro index 4cce7eda4f..504f9f77c1 100644 --- a/examples/localstorage/localstorage/localstorage.pro +++ b/examples/localstorage/localstorage/localstorage.pro @@ -3,7 +3,9 @@ TEMPLATE = app QT += quick qml SOURCES += main.cpp -target.path = $$[QT_INSTALL_EXAMPLES]/qtquick/localstorage +target.path = $$[QT_INSTALL_EXAMPLES]/qtquick/localstorage/localstorage qml.files = localstorage.qml hello.qml -qml.path = $$[QT_INSTALL_EXAMPLES]/qtquick/localstorage -INSTALLS += target qml +qml.path = $$[QT_INSTALL_EXAMPLES]/qtquick/localstorage/localstorage +sources.files = $$SOURCES localstorage.pro +sources.path = $$qml.path +INSTALLS += sources target qml |