diff options
author | Christian Strømme <christian.stromme@theqtcompany.com> | 2015-11-16 18:28:04 +0100 |
---|---|---|
committer | Christian Stromme <christian.stromme@theqtcompany.com> | 2015-11-24 16:06:59 +0000 |
commit | 356c60f2aaf7881f08a07aaf38bece8bbaa39d8d (patch) | |
tree | 8fe88b101c6bcf84865d1e41ec30400dd2755415 /examples/webview/minibrowser/minibrowser.pro | |
parent | ec675f5a6c086a6ca2ab301225fd8d17592121e4 (diff) |
Remove deployment.pri from the minibrowser example
The minibrowser example was created using the Qt Creator templates,
which includes hard-coded install paths defined in deployment.pri.
For user applications that might make sense, but it doesn't for Qt
examples, instead we should install it into Qt's example directory.
Task-number: QTBUG-49431
Change-Id: Ia4c33574547a17a186125f10b3eaa14512f81dc8
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com>
Diffstat (limited to 'examples/webview/minibrowser/minibrowser.pro')
-rw-r--r-- | examples/webview/minibrowser/minibrowser.pro | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/examples/webview/minibrowser/minibrowser.pro b/examples/webview/minibrowser/minibrowser.pro index 0ef8b8a..827e87b 100644 --- a/examples/webview/minibrowser/minibrowser.pro +++ b/examples/webview/minibrowser/minibrowser.pro @@ -1,4 +1,5 @@ TEMPLATE = app +TARGET = minibrowser QT += qml quick webview @@ -10,8 +11,5 @@ RESOURCES += qml.qrc EXAMPLE_FILES += doc -# Additional import path used to resolve QML modules in Qt Creator's code model -QML_IMPORT_PATH = - -# Default rules for deployment. -include(deployment.pri) +target.path = $$[QT_INSTALL_EXAMPLES]/webview/minibrowser +INSTALLS += target |