diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2019-06-05 17:02:52 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2019-06-08 08:22:42 +0000 |
commit | 5a3e668533450e82d0159596e5c24e738905f5f7 (patch) | |
tree | 87e769d1cd0f6c6d9e83d309eebab46ad634ece8 /tools/qmltestrunner | |
parent | f6f5687032bd6451e52c9ef221fb6a8a5b194389 (diff) |
Port the declarative tools
Also fix up QmlDevTools module to not depend on QtQml,
but instead make it include the headers / cpp files as it is done
in the qmake project.
Change-Id: I240c52d5357db150a7c0c819892fb0a3708ceee4
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'tools/qmltestrunner')
-rw-r--r-- | tools/qmltestrunner/.prev_CMakeLists.txt | 17 | ||||
-rw-r--r-- | tools/qmltestrunner/CMakeLists.txt | 18 |
2 files changed, 35 insertions, 0 deletions
diff --git a/tools/qmltestrunner/.prev_CMakeLists.txt b/tools/qmltestrunner/.prev_CMakeLists.txt new file mode 100644 index 0000000000..cace9385b7 --- /dev/null +++ b/tools/qmltestrunner/.prev_CMakeLists.txt @@ -0,0 +1,17 @@ +# Generated from qmltestrunner.pro. + +##################################################################### +## qmltestrunner Tool: +##################################################################### + +add_qt_tool(qmltestrunner + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::Qml + Qt::QuickTest +) + +#### Keys ignored in scope 1:.:.:qmltestrunner.pro:<TRUE>: +# QMAKE_TARGET_DESCRIPTION = "QML" "Test" "Runner" +# _LOADED = "qt_tool" diff --git a/tools/qmltestrunner/CMakeLists.txt b/tools/qmltestrunner/CMakeLists.txt new file mode 100644 index 0000000000..5e942fe8ec --- /dev/null +++ b/tools/qmltestrunner/CMakeLists.txt @@ -0,0 +1,18 @@ +# Generated from qmltestrunner.pro. + +##################################################################### +## qmltestrunner Tool: +##################################################################### + +add_qt_tool(qmltestrunner + TOOLS_TARGET Qml # special case + SOURCES + main.cpp + PUBLIC_LIBRARIES + Qt::Qml + Qt::QuickTest +) + +#### Keys ignored in scope 1:.:.:qmltestrunner.pro:<TRUE>: +# QMAKE_TARGET_DESCRIPTION = "QML" "Test" "Runner" +# _LOADED = "qt_tool" |