summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorKai Köhne <kai.koehne@qt.io>2021-03-31 11:18:37 +0200
committerKai Koehne <kai.koehne@qt.io>2021-03-31 16:09:05 +0000
commitfb284f1b06c8bb07b3fb65b3ccb83ba1c5dc64e3 (patch)
tree86944f4db5f84d4d3277e65904d0673d941cf325 /tests/auto
parentfba90a349747c36830b28e7c4520ca8421e11af7 (diff)
Rename ambiguous test name
qml is an ambiguous target name, and conflicts with the qml tool in a top-level build: CMake Error at qtbase/cmake/QtExecutableHelpers.cmake:28 (add_executable): add_executable cannot create target "qml" because another target with the same name already exists. The existing target is an executable created in source directory "C:/dev/qt/6.1/src/qtdeclarative/tools/qml". See documentation for policy CMP0002 for more details. Call Stack (most recent call first): qtbase/cmake/QtTestHelpers.cmake:214 (qt_internal_add_executable) qtcharts/tests/auto/qml/CMakeLists.txt:7 (qt_internal_add_test) Pick-to: 6.1 Change-Id: Idc3d3d6a689f46825886a7a3cf58e6d7ac215829 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/qml/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qml/CMakeLists.txt b/tests/auto/qml/CMakeLists.txt
index 09cc5aef..e30a8c09 100644
--- a/tests/auto/qml/CMakeLists.txt
+++ b/tests/auto/qml/CMakeLists.txt
@@ -4,7 +4,7 @@
## qml Test:
#####################################################################
-qt_internal_add_test(qml
+qt_internal_add_test(charts_qml
SOURCES
../inc/tst_definitions.h
tst_qml.cpp