[neon/qt6/qt6-webchannel/Neon/release] debian/patches: backport patch to try and fix qobject_p.h missing error

Carlos De Maine null at kde.org
Mon Nov 17 11:05:09 GMT 2025


Git commit dc39b4263c6b3e1ffdc35c386c8ba67c3a24026e by Carlos De Maine.
Committed on 17/11/2025 at 11:05.
Pushed by carlosdem into branch 'Neon/release'.

backport patch to try and fix qobject_p.h missing error

A  +23   -0    debian/patches/d8aeb51a42d7802048dad7fd0b3230b14b6019ed.diff
A  +1    -0    debian/patches/series

https://invent.kde.org/neon/qt6/qt6-webchannel/-/commit/dc39b4263c6b3e1ffdc35c386c8ba67c3a24026e

diff --git a/debian/patches/d8aeb51a42d7802048dad7fd0b3230b14b6019ed.diff b/debian/patches/d8aeb51a42d7802048dad7fd0b3230b14b6019ed.diff
new file mode 100644
index 0000000..5c99871
--- /dev/null
+++ b/debian/patches/d8aeb51a42d7802048dad7fd0b3230b14b6019ed.diff
@@ -0,0 +1,23 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 88f494ea2df7b585ecb2d9d37450f3d1a2fe040f..5a9ed444ada889f30fb9f285dd980548bbd140ee 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -16,10 +16,16 @@ project(QtWebChannel
+ # Make sure we use the fixed BASE argument of qt_add_resource.
+ set(QT_USE_FIXED_QT_ADD_RESOURCE_BASE TRUE)
+ 
+-find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals Core) # special case
+-find_package(Qt6 ${PROJECT_VERSION} CONFIG OPTIONAL_COMPONENTS Concurrent Quick Test QuickTest WebSockets Widgets) # special case
++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} CONFIG OPTIONAL_COMPONENTS Concurrent Quick Test QuickTest
++    WebSockets Widgets)
++
+ if(INTEGRITY)
+     message(NOTICE "Skipping the build as the condition \"NOT INTEGRITY\" is not met.")
+     return()
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..8596ea7
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+d8aeb51a42d7802048dad7fd0b3230b14b6019ed.diff


More information about the Neon-commits mailing list