diff options
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 |