[neon/qt6/qt6-lottie/Neon/release] debian/patches: backport to stop the cmake plugin error
Carlos De Maine
null at kde.org
Mon Nov 17 09:37:33 GMT 2025
Git commit 371ccb87e3446abb4c214eacbbebe1d1763eb67f by Carlos De Maine.
Committed on 17/11/2025 at 09:37.
Pushed by carlosdem into branch 'Neon/release'.
backport to stop the cmake plugin error
A +22 -0 debian/patches/c6d377b.diff
A +1 -0 debian/patches/series
https://invent.kde.org/neon/qt6/qt6-lottie/-/commit/371ccb87e3446abb4c214eacbbebe1d1763eb67f
diff --git a/debian/patches/c6d377b.diff b/debian/patches/c6d377b.diff
new file mode 100644
index 0000000..05919ac
--- /dev/null
+++ b/debian/patches/c6d377b.diff
@@ -0,0 +1,22 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 61fd921..a99147f 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -11,10 +11,15 @@
+ LANGUAGES CXX C
+ )
+
+-find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals Core)
+-find_package(Qt6 ${PROJECT_VERSION} QUIET CONFIG OPTIONAL_COMPONENTS Gui Qml Quick QuickTest)
++find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals)
++
++# This should be called as early as possible, just after find_package(BuildInternals) where it is
++# defined.
+ qt_internal_project_setup()
+
++find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS Core)
++find_package(Qt6 ${PROJECT_VERSION} QUIET CONFIG OPTIONAL_COMPONENTS Gui Qml Quick QuickTest)
++
+ if(NOT TARGET Qt6::Gui)
+ message(NOTICE "Skipping the build as Qt6::Gui cannot be found.")
+ return()
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..db9fa9a
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+c6d377b.diff
More information about the Neon-commits
mailing list