Add the missing linking of CorePrivate to WebChannelQuick module

Resolves: RHEL-78557
This commit is contained in:
Jan Grulich 2025-06-24 11:15:44 +02:00
parent 81ea7da823
commit 94c32344b1
2 changed files with 34 additions and 1 deletions

View File

@ -0,0 +1,26 @@
From a0492ee8494bb323f69bf104d6359affd7bf20b1 Mon Sep 17 00:00:00 2001
From: Alexey Edelev <alexey.edelev@qt.io>
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 <alexandru.croitor@qt.io>
---
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
)

View File

@ -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 <jgrulich@redhat.com> - 6.9.1-3
- Add the missing linking of CorePrivate to WebChannelQuick module
Resolves: RHEL-78557
* Mon Jun 09 2025 Jan Grulich <jgrulich@redhat.com> - 6.9.1-2
- Re-enable tests
Resolves: RHEL-78557