diff options
author | Samuli Piippo <samuli.piippo@theqtcompany.com> | 2015-05-29 13:21:19 +0300 |
---|---|---|
committer | Samuli Piippo <samuli.piippo@theqtcompany.com> | 2015-05-29 15:44:51 +0300 |
commit | 57fa34d2c09529b71e2fdfec077c0f35e9cd7624 (patch) | |
tree | a42edd55fa0569bdfde8d66ad5833d93ab8506e2 /basicsuite/shared/shared.pri | |
parent | a6675bd8fc1d8fcf6d0ab60f60e471f0012b2ece (diff) |
Make standalone demos work with 2d renderer5.4
Standalone application did not work in non-gpu devices (colibri vf),
when the root item did not have size set.
Fix this by using the same code as qtlancher has:
- QQmlApplicationEngine instead of QQuickView
- only one main qml file
- Window as root item
Change-Id: I482dd86e44faac5dac1839dfb88c5647a0425de6
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@theqtcompany.com>
Reviewed-by: Gatis Paeglis <gatis.paeglis@theqtcompany.com>
Diffstat (limited to 'basicsuite/shared/shared.pri')
-rw-r--r-- | basicsuite/shared/shared.pri | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/basicsuite/shared/shared.pri b/basicsuite/shared/shared.pri index 0d7392d..6b5c535 100644 --- a/basicsuite/shared/shared.pri +++ b/basicsuite/shared/shared.pri @@ -17,8 +17,7 @@ HEADERS += $$PWD/engine.h defineTest(b2qtdemo_deploy_defaults) { commonFiles.files = \ exclude.txt \ - ../shared/SharedMain.qml \ - ../shared/main_landscape.qml + ../shared/SharedMain.qml commonFiles.path = $$DESTPATH OTHER_FILES += $${commonFiles.files} INSTALLS += commonFiles |