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/qmlprofiler | |
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/qmlprofiler')
-rw-r--r-- | tools/qmlprofiler/.prev_CMakeLists.txt | 24 | ||||
-rw-r--r-- | tools/qmlprofiler/CMakeLists.txt | 25 |
2 files changed, 49 insertions, 0 deletions
diff --git a/tools/qmlprofiler/.prev_CMakeLists.txt b/tools/qmlprofiler/.prev_CMakeLists.txt new file mode 100644 index 0000000000..0bed3213bd --- /dev/null +++ b/tools/qmlprofiler/.prev_CMakeLists.txt @@ -0,0 +1,24 @@ +# Generated from qmlprofiler.pro. + +##################################################################### +## qmlprofiler Tool: +##################################################################### + +add_qt_tool(qmlprofiler + SOURCES + commandlistener.cpp commandlistener.h + constants.h + main.cpp + qmlprofilerapplication.cpp qmlprofilerapplication.h + qmlprofilerclient.cpp qmlprofilerclient.h + qmlprofilerdata.cpp qmlprofilerdata.h + LIBRARIES + Qt::QmlDebugPrivate + PUBLIC_LIBRARIES + Qt::Network + Qt::QmlDebug +) + +#### Keys ignored in scope 1:.:.:qmlprofiler.pro:<TRUE>: +# QMAKE_TARGET_DESCRIPTION = "QML" "Profiler" +# _LOADED = "qt_tool" diff --git a/tools/qmlprofiler/CMakeLists.txt b/tools/qmlprofiler/CMakeLists.txt new file mode 100644 index 0000000000..d0b46b5bef --- /dev/null +++ b/tools/qmlprofiler/CMakeLists.txt @@ -0,0 +1,25 @@ +# Generated from qmlprofiler.pro. + +##################################################################### +## qmlprofiler Tool: +##################################################################### + +add_qt_tool(qmlprofiler + TOOLS_TARGET Qml # special case + SOURCES + commandlistener.cpp commandlistener.h + constants.h + main.cpp + qmlprofilerapplication.cpp qmlprofilerapplication.h + qmlprofilerclient.cpp qmlprofilerclient.h + qmlprofilerdata.cpp qmlprofilerdata.h + LIBRARIES + Qt::QmlDebugPrivate + PUBLIC_LIBRARIES + Qt::Network + Qt::QmlDebug +) + +#### Keys ignored in scope 1:.:.:qmlprofiler.pro:<TRUE>: +# QMAKE_TARGET_DESCRIPTION = "QML" "Profiler" +# _LOADED = "qt_tool" |