diff options
author | Samuli Piippo <samuli.piippo@theqtcompany.com> | 2016-03-09 10:46:13 +0200 |
---|---|---|
committer | Samuli Piippo <samuli.piippo@theqtcompany.com> | 2016-03-09 09:59:49 +0000 |
commit | cdaf26d23204a0a745885ab0db886388618d50db (patch) | |
tree | 227170b3162e6e72f64f9c187900433c25064458 /basicsuite/qtwebbrowser/main.qml | |
parent | 7076d480edb69cc7d42594acbce00f3a563ed94c (diff) |
qtwebbrowser: add pro file to create stand-alone application
Current pro file only creates the qml plugin needed to run QtWebBrowser
demo from the qtlauncher. Add separate pro file for creating the application
that can be deployed and launched from QtCreator.
Additionally use the resource file from tqtc-qtwebbrowser, so we can use the
qml files from the qml plugin instead of filesystem.
Task-number: QTEE-1083
Change-Id: I700824fc82d70c40379a4e97513b7e3947be6fdd
Reviewed-by: Kimmo Ollila <kimmo.ollila@theqtcompany.com>
Diffstat (limited to 'basicsuite/qtwebbrowser/main.qml')
-rw-r--r-- | basicsuite/qtwebbrowser/main.qml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/basicsuite/qtwebbrowser/main.qml b/basicsuite/qtwebbrowser/main.qml index dcca154..c0f795c 100644 --- a/basicsuite/qtwebbrowser/main.qml +++ b/basicsuite/qtwebbrowser/main.qml @@ -1,5 +1,6 @@ import QtQuick 2.0 +import WebBrowser 1.0 Loader { - source: "tqtc-qtwebbrowser/src/qml/BrowserWindow.qml" + source: "qrc:/qml/BrowserWindow.qml" } |