Update package version to 2.3.0

This commit is contained in:
2025-11-08 15:22:02 +02:00
parent 9a73830b78
commit 8c33873323
3 changed files with 3 additions and 63 deletions
+3 -3
View File
@@ -1,7 +1,7 @@
name: lxqt-qtplugin name: lxqt-qtplugin
description: LXQt Qt platform integration plugin description: LXQt Qt platform integration plugin
version: 2.2.0 version: 2.3.0
revision: 2 revision: 1
url: https://github.com/lxqt/lxqt-qtplugin url: https://github.com/lxqt/lxqt-qtplugin
license: LGPL2.1-or-later license: LGPL2.1-or-later
architecture: any architecture: any
@@ -16,4 +16,4 @@ downloads:
- url: https://github.com/lxqt/lxqt-qtplugin/archive/refs/tags/${BPM_PKG_VERSION}.tar.gz - url: https://github.com/lxqt/lxqt-qtplugin/archive/refs/tags/${BPM_PKG_VERSION}.tar.gz
extract_to: ${BPM_SOURCE} extract_to: ${BPM_SOURCE}
extract_strip_components: 1 extract_strip_components: 1
checksum: be57b0ec8cf0a07f2221696cb967132f9ee7f751f5d08670c48f8897797ad960 checksum: de9d47b2e8a5c813af7ad9c3e097064312c5673f3ddfddf0709a410a622e1b96
-53
View File
@@ -1,53 +0,0 @@
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)
-7
View File
@@ -2,13 +2,6 @@
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE # BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT # BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
# The prepare function is executed in the root of the temp directory
# This function is used for putting downloaded files to the correct location or applying patches
prepare() {
cd "$BPM_SOURCE"
patch -Np1 -i "$BPM_WORKDIR"/qt-6.10.patch
}
# The build function is executed in the source directory # The build function is executed in the source directory
# This function is used to compile the source code # This function is used to compile the source code
build() { build() {