# Initial migration of the inline sed -i chains in # local/recipes/kde/kf6-kitemviews's [build].script to a durable external # patch. Captured by local/scripts/migrate-kf6-seds-direct.sh # on 2026-06-12T19:45:30+03:00. # # After applying this patch via cookbook_apply_patches, # the recipe's [build].script should call: # REDBEAR_PATCHES_DIR="/home/kellito/Builds/RedBear-OS/local/patches/kf6-kitemviews" # cookbook_apply_patches "${REDBEAR_PATCHES_DIR}" # in place of the sed -i chains that produced these edits. diff -ruN '--label=CMakeLists.txt' '--label=CMakeLists.txt' '--exclude=.git' '--exclude=target' '--exclude=.clang-format' '--exclude=.gitignore' CMakeLists.txt CMakeLists.txt --- CMakeLists.txt +++ CMakeLists.txt @@ -27,6 +27,7 @@ set(REQUIRED_QT_VERSION 6.9.0) find_package(Qt6 ${REQUIRED_QT_VERSION} CONFIG REQUIRED Widgets) +find_package(Qt6GuiPrivate ${REQUIRED_QT_VERSION} REQUIRED) set(EXCLUDE_DEPRECATED_BEFORE_AND_AT 0 CACHE STRING "Control the range of deprecated API excluded from the build [default=0].") @@ -40,7 +41,7 @@ SOVERSION 6) -ecm_install_po_files_as_qm(poqm) +#ecm_install_po_files_as_qm(poqm) ecm_set_disabled_deprecation_versions( QT 6.11