actiona: fix build for Qt 6.10

This commit is contained in:
aware70
2025-11-14 08:48:30 -06:00
parent 30b1f35f98
commit 061f008e1a
2 changed files with 18 additions and 1 deletions
@@ -0,0 +1,13 @@
diff --git a/actiontools/CMakeLists.txt b/actiontools/CMakeLists.txt
index 94c809c4..eb3d7e8c 100644
--- a/actiontools/CMakeLists.txt
+++ b/actiontools/CMakeLists.txt
@@ -292,7 +292,7 @@ target_compile_definitions(${PROJECT} PRIVATE ACTIONTOOLS_LIBRARY)
setup_target(${PROJECT})
find_package(OpenCV REQUIRED core imgproc)
-find_package(Qt6 ${ACT_MINIMUM_QT_VERSION} COMPONENTS Widgets Qml REQUIRED)
+find_package(Qt6 ${ACT_MINIMUM_QT_VERSION} COMPONENTS Widgets Qml QmlPrivate REQUIRED)
ExternalProject_Add(external_qtjsapi
SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/3rdparty/qtjsapi
+5 -1
View File
@@ -28,7 +28,11 @@ stdenv.mkDerivation (finalAttrs: {
fetchSubmodules = true;
};
patches = lib.optionals (!textToSpeechSupport) [
patches = [
# Meet Qt 6.10 requirement for explicit find_package of private targets
./fix-qt6-10-private-targets.diff
]
++ lib.optionals (!textToSpeechSupport) [
# Removes TTS support
./disable-tts.patch
];