aboutsummaryrefslogtreecommitdiffstats
path: root/src/tools
diff options
context:
space:
mode:
authorTim Jenssen <tim.jenssen@qt.io>2019-08-07 16:00:21 +0200
committerTim Jenssen <tim.jenssen@qt.io>2019-08-07 14:48:04 +0000
commitc9b91e7e6b25d5c76bd736c054c681a6877f625c (patch)
tree4181884b406b8dc6687b6b15613e7205eab8119b /src/tools
parent6ab4d694403cec64c5aa106bb4d457e478e1b8fa (diff)
QmlDesigner: reduce enumeration to header only
It is used in some other external qmldesigner plugin and these are built against current dev packages, which are not contain this cpp file. Different solution would be to add: r"^share/qtcreator/qml/qmlpuppet/types/enumeration.cpp$", to scripts/createDevPackage.py which feels not that clean. Change-Id: Ia1fb5c02f457d98474218689ebf6483706265dde Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/qml2puppet/CMakeLists.txt2
-rw-r--r--src/tools/qml2puppet/qml2puppet.qbs1
2 files changed, 1 insertions, 2 deletions
diff --git a/src/tools/qml2puppet/CMakeLists.txt b/src/tools/qml2puppet/CMakeLists.txt
index a5b24d59de..3715ae9349 100644
--- a/src/tools/qml2puppet/CMakeLists.txt
+++ b/src/tools/qml2puppet/CMakeLists.txt
@@ -126,7 +126,7 @@ extend_qtc_executable(qml2puppet
extend_qtc_executable(qml2puppet
SOURCES_PREFIX "${SRCDIR}/types"
SOURCES
- enumeration.cpp enumeration.h
+ enumeration.h
)
extend_qtc_executable(qml2puppet
diff --git a/src/tools/qml2puppet/qml2puppet.qbs b/src/tools/qml2puppet/qml2puppet.qbs
index 25c3f39309..02a6f6e31f 100644
--- a/src/tools/qml2puppet/qml2puppet.qbs
+++ b/src/tools/qml2puppet/qml2puppet.qbs
@@ -121,7 +121,6 @@ QtcTool {
"interfaces/nodeinstanceserverinterface.cpp",
"interfaces/nodeinstanceserverinterface.h",
"qmlprivategate/qmlprivategate.h",
- "types/enumeration.cpp",
"types/enumeration.h",
]
}