diff --git a/srcpkgs/kitemviews/patches/cross.patch b/srcpkgs/kitemviews/patches/cross.patch new file mode 100644 index 0000000000..4abaf14f35 --- /dev/null +++ b/srcpkgs/kitemviews/patches/cross.patch @@ -0,0 +1,11 @@ +--- a/CMakeLists.txt 2022-03-05 12:17:35.000000000 +0100 ++++ - 2022-03-28 22:29:14.364077451 +0200 +@@ -30,7 +30,7 @@ + option(BUILD_QCH "Build API documentation in QCH format (for e.g. Qt Assistant, Qt Creator & KDevelop)" OFF) + add_feature_info(QCH ${BUILD_QCH} "API documentation in QCH format (for e.g. Qt Assistant, Qt Creator & KDevelop)") + +-cmake_dependent_option(BUILD_DESIGNERPLUGIN "Build plugin for Qt Designer" ON "NOT CMAKE_CROSSCOMPILING" OFF) ++option(BUILD_DESIGNERPLUGIN "Build plugin for Qt Designer" ON) + add_feature_info(DESIGNERPLUGIN ${BUILD_DESIGNERPLUGIN} "Build plugin for Qt Designer") + + ecm_setup_version(PROJECT VARIABLE_PREFIX KPLOTTING