From 31468d273b7b0e003aab56cc58063ee9f0a6a98e Mon Sep 17 00:00:00 2001 From: vasilito Date: Sat, 1 Aug 2026 16:03:29 +0300 Subject: [PATCH] polkit-qt6: pass -DBUILD_WITH_QT6=ON MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The recipe is the Qt6 build of polkit-qt-1 but the upstream CMakeLists defaults QT_MAJOR_VERSION to 5 unless BUILD_WITH_QT6=ON, so it was looking for Qt5 and failing. (Next blocker: it still needs libpolkit-gobject-1, the polkit client library, which redbear-polkit — a D-Bus daemon — does not provide.) --- local/recipes/libs/polkit-qt6/recipe.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/local/recipes/libs/polkit-qt6/recipe.toml b/local/recipes/libs/polkit-qt6/recipe.toml index 9841bfafac..efe4f3126f 100644 --- a/local/recipes/libs/polkit-qt6/recipe.toml +++ b/local/recipes/libs/polkit-qt6/recipe.toml @@ -59,6 +59,7 @@ rm -rf CMakeFiles cmake "${COOKBOOK_SOURCE}" \ -DCMAKE_TOOLCHAIN_FILE="${COOKBOOK_ROOT}/local/recipes/qt/redox-toolchain.cmake" \ -DQT_HOST_PATH="${HOST_BUILD}" \ + -DBUILD_WITH_QT6=ON \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}" \