diff options
Diffstat (limited to 'examples/tutorials/gettingStartedQml')
-rw-r--r-- | examples/tutorials/gettingStartedQml/filedialog/filedialog.pro | 5 | ||||
-rw-r--r-- | examples/tutorials/gettingStartedQml/gettingStartedQml.pro | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/examples/tutorials/gettingStartedQml/filedialog/filedialog.pro b/examples/tutorials/gettingStartedQml/filedialog/filedialog.pro index 85edb40257..36ae0fc7f4 100644 --- a/examples/tutorials/gettingStartedQml/filedialog/filedialog.pro +++ b/examples/tutorials/gettingStartedQml/filedialog/filedialog.pro @@ -15,3 +15,8 @@ HEADERS += directory.h \ SOURCES += directory.cpp \ file.cpp \ dialogPlugin.cpp + +target.path = $$[QT_INSTALL_EXAMPLES]/qtquick/tutorials/gettingStartedQml/filedialog +sources.files = $$SOURCES $$HEADERS filedialog.pro +sources.path = $$target.path +INSTALLS = sources target diff --git a/examples/tutorials/gettingStartedQml/gettingStartedQml.pro b/examples/tutorials/gettingStartedQml/gettingStartedQml.pro index aa5306cceb..10ce079896 100644 --- a/examples/tutorials/gettingStartedQml/gettingStartedQml.pro +++ b/examples/tutorials/gettingStartedQml/gettingStartedQml.pro @@ -2,3 +2,7 @@ TEMPLATE = subdirs SUBDIRS = \ filedialog\ +# install +sources.files = gettingStartedQml.pro +sources.path = $$[QT_INSTALL_EXAMPLES]/qtquick/tutorials/gettingStartedQml +INSTALLS += sources |