diff options
author | Bramastyo Harimukti <bramastyo.harimukti.santoso@pelagicore.com> | 2019-02-26 07:41:46 +0100 |
---|---|---|
committer | Bramastyo Harimukti Santoso <bramastyo.harimukti.santoso@pelagicore.com> | 2019-03-22 12:39:29 +0000 |
commit | 90ce4db3c1f8f237a77973e41a010a0f14af05ab (patch) | |
tree | ad4417f6b51919b26ba1158b4aca895ac8bab046 /qmake-features | |
parent | 76c3902d73593edd60fadcac7deb1d33ec26560a (diff) |
[harness] initial harness wrapper
-introduces the harness wrapper that runs qmllive and
load the cluster harness workspace to support rapid
UI development
Change-Id: Ib139c6ab4387cf815e5552fabf210c8637c44518
Reviewed-by: Grigorii Zimin <gzimin@luxoft.com>
Reviewed-by: Egor Nemtsev <enemtsev@luxoft.com>
Diffstat (limited to 'qmake-features')
-rw-r--r-- | qmake-features/neptune-livereload.prf | 25 | ||||
-rw-r--r-- | qmake-features/qmake-features.pro | 4 |
2 files changed, 29 insertions, 0 deletions
diff --git a/qmake-features/neptune-livereload.prf b/qmake-features/neptune-livereload.prf new file mode 100644 index 00000000..7b603e6c --- /dev/null +++ b/qmake-features/neptune-livereload.prf @@ -0,0 +1,25 @@ +win32|cross_compile: { + TEMPLATE = aux + warning("Couldn't generate a neptune wrapper. Please start the example as mentioned in the documentation instead.") +} else { + WRAPPER_EXT=.sh + ORIG_TARGET=$$TARGET + 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 + + extraplugins.name = QT_PLUGIN_PATH + extraplugins.CONFIG = append + extraplugins.value = $$OUT_PWD/../../../ + + stylepath.name = QT_QUICK_CONTROLS_STYLE_PATH + stylepath.value = $$OUT_PWD/../../../styles/ + + style.name = QT_QUICK_CONTROLS_STYLE + style.value = neptune + + QT_TOOL_ENV = extraplugins stylepath style + QT_TOOL_NAME = $$ORIG_TARGET + qtAddTargetEnv(NEPTUNE_LIVERELOAD, QT) +} diff --git a/qmake-features/qmake-features.pro b/qmake-features/qmake-features.pro new file mode 100644 index 00000000..975bca5f --- /dev/null +++ b/qmake-features/qmake-features.pro @@ -0,0 +1,4 @@ +TEMPLATE = aux + +OTHER_FILES += \ + *.prf \ |