From 94c32344b1c8f19dbe64600cbcdd18ff8c4cb23b Mon Sep 17 00:00:00 2001 From: Jan Grulich Date: Tue, 24 Jun 2025 11:15:44 +0200 Subject: [PATCH] Add the missing linking of CorePrivate to WebChannelQuick module Resolves: RHEL-78557 --- 0001-Add-missing-linking-CorePrivate.patch | 26 ++++++++++++++++++++++ qt6-qtwebchannel.spec | 9 +++++++- 2 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 0001-Add-missing-linking-CorePrivate.patch diff --git a/0001-Add-missing-linking-CorePrivate.patch b/0001-Add-missing-linking-CorePrivate.patch new file mode 100644 index 0000000..d5f6851 --- /dev/null +++ b/0001-Add-missing-linking-CorePrivate.patch @@ -0,0 +1,26 @@ +From a0492ee8494bb323f69bf104d6359affd7bf20b1 Mon Sep 17 00:00:00 2001 +From: Alexey Edelev +Date: Wed, 19 Feb 2025 19:48:10 +0100 +Subject: [PATCH] Add the missing linking of CorePrivate to WebChannelQuick + module + +It worked previously since Qt::Qml linking propagated it as +private interface. + +Change-Id: I65edd1aed1e1ed16df9f6da8ea78bd7d752ee198 +Reviewed-by: Alexandru Croitor +--- + src/webchannelquick/CMakeLists.txt | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/webchannelquick/CMakeLists.txt b/src/webchannelquick/CMakeLists.txt +index e96028f..c936bb4 100644 +--- a/src/webchannelquick/CMakeLists.txt ++++ b/src/webchannelquick/CMakeLists.txt +@@ -14,5 +14,6 @@ qt_internal_add_qml_module(WebChannelQuick + DEFINES + QT_NO_CONTEXTLESS_CONNECT + LIBRARIES ++ Qt::CorePrivate + Qt::WebChannelPrivate + ) diff --git a/qt6-qtwebchannel.spec b/qt6-qtwebchannel.spec index 4a86633..0d27f1b 100644 --- a/qt6-qtwebchannel.spec +++ b/qt6-qtwebchannel.spec @@ -13,7 +13,7 @@ Summary: Qt6 - WebChannel component Name: qt6-%{qt_module} Version: 6.9.1 -Release: 2%{?dist} +Release: 3%{?dist} License: LGPL-3.0-only OR GPL-3.0-only WITH Qt-GPL-exception-1.0 Url: http://qt.io @@ -26,6 +26,9 @@ Source0: https://download.qt.io/development_releases/qt/%{majmin}/%{qt_version}/ Source0: https://download.qt.io/official_releases/qt/%{majmin}/%{version}/submodules/%{qt_module}-everywhere-src-%{version}.tar.xz %endif +## Upstream patches +Patch0: 0001-Add-missing-linking-CorePrivate.patch + BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: ninja-build @@ -149,6 +152,10 @@ popd %endif %changelog +* Tue Jun 24 2025 Jan Grulich - 6.9.1-3 +- Add the missing linking of CorePrivate to WebChannelQuick module + Resolves: RHEL-78557 + * Mon Jun 09 2025 Jan Grulich - 6.9.1-2 - Re-enable tests Resolves: RHEL-78557