void-packages/srcpkgs/qt6-webengine/patches/0900-cross-build-examples.p...

17 lines
512 B
Diff

--- qt6-webengine-6.4.2.orig/examples/CMakeLists.txt
+++ qt6-webengine-6.4.2/examples/CMakeLists.txt
@@ -4,7 +4,6 @@
cmake_minimum_required(VERSION 3.16)
qt_examples_build_begin(EXTERNAL_BUILD)
-if(NOT CMAKE_CROSSCOMPILING AND Qt6Core_VERSION VERSION_GREATER_EQUAL "6.5") #QTBUG-86533
if(TARGET Qt::WebEngineCore)
add_subdirectory(webenginequick)
endif()
@@ -17,5 +16,4 @@
if(TARGET Qt::PdfWidgets)
add_subdirectory(pdfwidgets)
endif()
-endif()
qt_examples_build_end()