aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt2
-rw-r--r--src/CMakeLists.txt1
-rw-r--r--src/benchmarks/auto/creation/qtgraphicaleffects/delegates_dropshadow.qml2
-rw-r--r--src/benchmarks/auto/creation/qtgraphicaleffects/delegates_lineargradient.qml2
4 files changed, 4 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1b274be..1de1870 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -16,7 +16,7 @@ project(QMLBenchProject
set(QT_NO_INTERNAL_COMPATIBILITY_FUNCTIONS TRUE)
# special case end
-find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals Core Gui Qml Quick Test Quick3D)
+find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals Core Gui Qml Quick Test Quick3D Core5Compat)
qt_build_repo_begin()
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index c256fb2..093daa7 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -16,6 +16,7 @@ qt_internal_add_executable(qmlbench
Qt::Gui
Qt::Quick
Qt::Quick3D
+ Qt::Core5Compat
)
# Resources:
diff --git a/src/benchmarks/auto/creation/qtgraphicaleffects/delegates_dropshadow.qml b/src/benchmarks/auto/creation/qtgraphicaleffects/delegates_dropshadow.qml
index 075d74d..59b1e7d 100644
--- a/src/benchmarks/auto/creation/qtgraphicaleffects/delegates_dropshadow.qml
+++ b/src/benchmarks/auto/creation/qtgraphicaleffects/delegates_dropshadow.qml
@@ -27,7 +27,7 @@
****************************************************************************/
import QtQuick 2.0
-import QtGraphicalEffects 1.0
+import Qt5Compat.GraphicalEffects
import QmlBench 1.0
CreationBenchmark {
diff --git a/src/benchmarks/auto/creation/qtgraphicaleffects/delegates_lineargradient.qml b/src/benchmarks/auto/creation/qtgraphicaleffects/delegates_lineargradient.qml
index 2904bdc..3dc8f73 100644
--- a/src/benchmarks/auto/creation/qtgraphicaleffects/delegates_lineargradient.qml
+++ b/src/benchmarks/auto/creation/qtgraphicaleffects/delegates_lineargradient.qml
@@ -1,5 +1,5 @@
import QtQuick 2.0
-import QtGraphicalEffects 1.0
+import Qt5Compat.GraphicalEffects
import QmlBench 1.0
// Tests the creation of LinearGradient.