Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package lxqt-qtplugin for openSUSE:Factory checked in at 2025-10-14 18:09:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/lxqt-qtplugin (Old) and /work/SRC/openSUSE:Factory/.lxqt-qtplugin.new.18484 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lxqt-qtplugin" Tue Oct 14 18:09:01 2025 rev:25 rq:1311235 version:2.2.0 Changes: -------- --- /work/SRC/openSUSE:Factory/lxqt-qtplugin/lxqt-qtplugin.changes 2025-04-22 17:27:07.972184943 +0200 +++ /work/SRC/openSUSE:Factory/.lxqt-qtplugin.new.18484/lxqt-qtplugin.changes 2025-10-14 18:10:46.869044406 +0200 @@ -1,0 +2,6 @@ +Mon Oct 13 19:26:49 UTC 2025 - Christophe Marin <[email protected]> + +- Add upstream change: + * lxqt-qtplugin-qt610.patch + +------------------------------------------------------------------- New: ---- lxqt-qtplugin-qt610.patch ----------(New B)---------- New:- Add upstream change: * lxqt-qtplugin-qt610.patch ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lxqt-qtplugin.spec ++++++ --- /var/tmp/diff_new_pack.JtgCyZ/_old 2025-10-14 18:10:47.761082022 +0200 +++ /var/tmp/diff_new_pack.JtgCyZ/_new 2025-10-14 18:10:47.761082022 +0200 @@ -1,7 +1,7 @@ # # spec file for package lxqt-qtplugin # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,6 +25,8 @@ Source0: %{url}/releases/download/%{version}/%{name}-%{version}.tar.xz Source1: %{url}/releases/download/%{version}/%{name}-%{version}.tar.xz.asc Source2: %{name}.keyring +# PATCH-FIX-UPSTREAM -- Qt 6.10 compat +Patch0: lxqt-qtplugin-qt610.patch BuildRequires: cmake >= 3.5.0 BuildRequires: gcc-c++ BuildRequires: pkgconfig @@ -43,7 +45,7 @@ Qt-based programs can adopt settings of LXQt, such as the icon theme. %prep -%autosetup +%autosetup -p1 %build %cmake_qt6 ++++++ lxqt-qtplugin-qt610.patch ++++++ >From 90473945206dbf21816a00dfba27426a5b5a9e25 Mon Sep 17 00:00:00 2001 From: Chiitoo <[email protected]> Date: Wed, 8 Oct 2025 19:46:22 +0300 Subject: [PATCH] cmake: fix build with Qt 6.10 (#100) The 'Qt6FooPrivate' targets have been split into separate CMake files in Qt 6.9, and require a 'find_package(Qt6FooPrivate)' call starting with Qt 6.10. See also: https://bugreports.qt.io/browse/QTBUG-87776 --- CMakeLists.txt | 5 +++++ src/CMakeLists.txt | 11 +++++++---- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 39b136d..cecc546 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -23,6 +23,11 @@ find_package(Qt6DBus ${QT_MINIMUM_VERSION} REQUIRED) find_package(Qt6LinguistTools ${QT_MINIMUM_VERSION} REQUIRED) find_package(Qt6Widgets ${QT_MINIMUM_VERSION} REQUIRED) find_package(Qt6XdgIconLoader ${QTXDG_MINIMUM_VERSION} REQUIRED) + +if (Qt6Gui_VERSION VERSION_GREATER_EQUAL "6.10.0") + find_package(Qt6GuiPrivate REQUIRED) +endif() + find_package(lxqt2-build-tools ${LXQTBT_MINIMUM_VERSION} REQUIRED) find_package(dbusmenu-lxqt ${DBUSMENU_MINIMUM_VERSION} REQUIRED) find_package(fm-qt6 ${FMQT_MINIMUM_VERSION} REQUIRED) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 008e2be..6bcd84e 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -33,10 +33,13 @@ target_compile_definitions(qtlxqt ) target_link_libraries(qtlxqt - Qt6::Widgets - Qt6::DBus - dbusmenu-lxqt - Qt6XdgIconLoader + PRIVATE + Qt6::GuiPrivate + PUBLIC + Qt6::Widgets + Qt6::DBus + dbusmenu-lxqt + Qt6XdgIconLoader ) lxqt_query_qt(_QT_PLUGINS_DIR QT_INSTALL_PLUGINS)
