aboutsummaryrefslogtreecommitdiffstats
path: root/qmake-features
diff options
context:
space:
mode:
authorBramastyo Harimukti <bramastyo.harimukti.santoso@pelagicore.com>2019-03-28 13:37:44 +0100
committerEgor Nemtsev <enemtsev@luxoft.com>2019-03-28 15:08:25 +0000
commit61276c3efec628f46f37f9c72026f6ac232db638 (patch)
tree484f4942f57e34f0676fa4b6c60cbc6b7e402456 /qmake-features
parenta11b9f4f919bf94bf64bf73fd74ee9360aa2a37f (diff)
[harness] use qmlscene in case qmllive is not available
Change-Id: I8e65ed57fb50367fcdbe6e8135602fa245b2fe7f Reviewed-by: Egor Nemtsev <enemtsev@luxoft.com>
Diffstat (limited to 'qmake-features')
-rw-r--r--qmake-features/neptune-livereload.prf3
1 files changed, 2 insertions, 1 deletions
diff --git a/qmake-features/neptune-livereload.prf b/qmake-features/neptune-livereload.prf
index a723073f..182a5e4d 100644
--- a/qmake-features/neptune-livereload.prf
+++ b/qmake-features/neptune-livereload.prf
@@ -7,7 +7,8 @@ win32|cross_compile: {
TARGET=$${TARGET}_wrapper$${WRAPPER_EXT}
CONFIG-=app_bundle
- NEPTUNE_LIVERELOAD=$$[QT_INSTALL_BINS]/qmllivebench --importpath $$OUT_PWD/../../../../imports_shared/ --importpath $$PWD/../apps/$$APPLICATION_NAME/ $$HARNESSES_WORKSPACE
+ exists($$[QT_INSTALL_BINS]/qmllivebench):NEPTUNE_LIVERELOAD=$$[QT_INSTALL_BINS]/qmllivebench --importpath $$OUT_PWD/../../../../imports_shared/ --importpath $$PWD/../apps/$$APPLICATION_NAME/ $$HARNESSES_WORKSPACE
+ else:NEPTUNE_LIVERELOAD=$$[QT_INSTALL_BINS]/qmlscene -I $$OUT_PWD/../../../../imports_shared/ -I $$PWD/../apps/$$APPLICATION_NAME/ $$HARNESSES_WORKSPACE
extraplugins.name = QT_PLUGIN_PATH
extraplugins.CONFIG = append