diff options
author | Pasi Petäjäjärvi <pasi.petajajarvi@qt.io> | 2022-09-14 16:40:22 +0300 |
---|---|---|
committer | Pasi Petäjäjärvi <pasi.petajajarvi@qt.io> | 2022-09-15 08:40:28 +0000 |
commit | 857cf2741fd2d0b01a9f3cfbe215cbd9d28de86c (patch) | |
tree | 6f09808d4f9cda6efad49bd2783df0bab9092b21 | |
parent | 8d3bd24cf7fc487c1cef1eac56fb24abd048dcaf (diff) |
Fix usage of QtGraphicalEffects in tests
Change-Id: I2c6e2f71463a80ebf47ad2553ad9df8b0e2f29f3
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rw-r--r-- | src/CMakeLists.txt | 1 | ||||
-rw-r--r-- | src/benchmarks/auto/creation/qtgraphicaleffects/delegates_dropshadow.qml | 2 | ||||
-rw-r--r-- | src/benchmarks/auto/creation/qtgraphicaleffects/delegates_lineargradient.qml | 2 |
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. |