diff --git a/srcpkgs/kconfigwidgets/patches/cross.patch b/srcpkgs/kconfigwidgets/patches/cross.patch new file mode 100644 index 00000000000..cf9d7d54a87 --- /dev/null +++ b/srcpkgs/kconfigwidgets/patches/cross.patch @@ -0,0 +1,11 @@ +--- a/CMakeLists.txt 2022-03-05 13:57:20.000000000 +0100 ++++ - 2022-03-28 22:35:00.337296905 +0200 +@@ -41,7 +41,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") + + if (NOT ANDROID AND NOT WIN32)