Loading pkgs/by-name/ac/actiona/fix-qt6-10-private-targets.diff 0 → 100644 +13 −0 Original line number Diff line number Diff line 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 pkgs/by-name/ac/actiona/package.nix +5 −1 Original line number Diff line number Diff line Loading @@ -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 ]; Loading Loading
pkgs/by-name/ac/actiona/fix-qt6-10-private-targets.diff 0 → 100644 +13 −0 Original line number Diff line number Diff line 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
pkgs/by-name/ac/actiona/package.nix +5 −1 Original line number Diff line number Diff line Loading @@ -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 ]; Loading