summaryrefslogtreecommitdiff
path: root/src/ivicore
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2021-05-25 15:14:38 +0200
committerDominik Holland <dominik.holland@qt.io>2021-05-26 12:11:07 +0200
commitf357bb6e64ea24e4ec27b6d84c94c3a6dadc24fa (patch)
treef8fe67b7ea4e609f0f16ddcdbed5c636f9bd5966 /src/ivicore
parentc09bcfbdf0232f8b827fc2a4dd19ca433a62df5f (diff)
downloadqtivi-f357bb6e64ea24e4ec27b6d84c94c3a6dadc24fa.tar.gz
CMake: Disable usage of CMake API compatibility wrappers
Setting the QT_NO_INTERNAL_COMPATIBILITY_FUNCTIONS variable in the project ensures we ported away from old API calls. Task-number: QTBUG-86815 Change-Id: I7f86da0411b4870b1a9f9e1ed0b63cf30ccd48ad Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Dominik Holland <dominik.holland@qt.io>
Diffstat (limited to 'src/ivicore')
-rw-r--r--src/ivicore/CMakeLists.txt4
-rw-r--r--src/ivicore/queryparser/CMakeLists.txt2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/ivicore/CMakeLists.txt b/src/ivicore/CMakeLists.txt
index d6d7aed..e9b801c 100644
--- a/src/ivicore/CMakeLists.txt
+++ b/src/ivicore/CMakeLists.txt
@@ -4,7 +4,7 @@
## IviCore Module:
#####################################################################
-qt_add_module(IviCore
+qt_internal_add_module(IviCore
PLUGIN_TYPES qtivi
SOURCES
qiviabstractfeature.cpp qiviabstractfeature.h qiviabstractfeature_p.h
@@ -65,7 +65,7 @@ qt_add_module(IviCore
# qlalr.input = "QLALR"
# qlalr.output = "$$PWD/${QMAKE_FILE_BASE}_p.h"
-qt_extend_target(IviCore CONDITION NOT enable-qlalr
+qt_internal_extend_target(IviCore CONDITION NOT enable-qlalr
SOURCES
queryparser/qiviqueryparser_p.h
queryparser/qiviqueryparser_flex_p.h
diff --git a/src/ivicore/queryparser/CMakeLists.txt b/src/ivicore/queryparser/CMakeLists.txt
index 08aaeed..21cffa4 100644
--- a/src/ivicore/queryparser/CMakeLists.txt
+++ b/src/ivicore/queryparser/CMakeLists.txt
@@ -29,7 +29,7 @@ qt_add_executable(queryparser
# qlalr.input = "QLALR"
# qlalr.output = "$$PWD/${QMAKE_FILE_BASE}_p.h"
-qt_extend_target(queryparser CONDITION NOT enable-qlalr
+qt_internal_extend_target(queryparser CONDITION NOT enable-qlalr
SOURCES
qiviqueryparser_p.h
qiviqueryparser_flex_p.h