From 262aea416c8a990e2c8a74a95b2602f299bb1936 Mon Sep 17 00:00:00 2001 From: Mohsen Date: Sun, 20 Oct 2024 19:01:00 +0330 Subject: [PATCH] Enable qt quick 3D. --- CMakeLists.txt | 2 +- src/core/CMakeLists.txt | 1 + vcpkg.json | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8845f610ab..5f6c08bd4e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -117,7 +117,7 @@ if (ANDROID) set(ANDROID_PACKAGE_SOURCE_DIR ${CMAKE_BINARY_DIR}/android-template) endif() -find_package(Qt6 COMPONENTS Concurrent Core Qml Gui Xml Positioning Widgets Network Quick Svg Sql Sensors WebView Multimedia Bluetooth Nfc WebSockets REQUIRED) +find_package(Qt6 COMPONENTS Concurrent Core Qml Gui Xml Positioning Widgets Network Quick Svg Sql Sensors WebView Multimedia Bluetooth Nfc WebSockets Quick3D REQUIRED) if(NOT CMAKE_SYSTEM_NAME STREQUAL "iOS") find_package(Qt6 COMPONENTS PrintSupport REQUIRED) diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt index da39d2766e..db9ae84ab7 100644 --- a/src/core/CMakeLists.txt +++ b/src/core/CMakeLists.txt @@ -354,6 +354,7 @@ target_link_libraries( Qt::WebView Qt::Multimedia Qt::WebSockets + Qt::Quick3D QGIS::Core QGIS::Analysis ZXing::ZXing diff --git a/vcpkg.json b/vcpkg.json index 94a161e1bd..b5b3425798 100644 --- a/vcpkg.json +++ b/vcpkg.json @@ -84,6 +84,7 @@ "qml" ] }, + "qtquick3d", { "name": "qtsensors", "features": [