[X2Go-Commits] [x2goplasmabindings] 04/05: CMakeLists.txt: make sure to use the Qt5::... targets, older systems do not define a versionless alias, since this was only introduced for Qt-6-compatibility.

git-admin at x2go.org git-admin at x2go.org
Fri Aug 11 05:55:02 CEST 2023


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository x2goplasmabindings.

commit bdc9e831ca126a184c64b76b52c121c8180e461b
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Fri Aug 11 05:44:31 2023 +0200

    CMakeLists.txt: make sure to use the Qt5::... targets, older systems do not define a versionless alias, since this was only introduced for Qt-6-compatibility.
---
 CMakeLists.txt   | 4 ++--
 debian/changelog | 3 +++
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6f39dbc..f66e72a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -103,8 +103,8 @@ if (USE_PLASMA5)
 	)
 	target_link_libraries (
 		X2GoPlasmoidPlugin
-		Qt::Core
-		Qt::Qml
+		Qt5::Core
+		Qt5::Qml
 	)
 	if (HAVE_ECMQMLMODULE)
 		ecm_finalize_qml_module (
diff --git a/debian/changelog b/debian/changelog
index 21e0b79..d8d0a7a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -38,6 +38,9 @@ x2goplasmabindings (3.0.2.3-0x2go1) UNRELEASED; urgency=medium
     - CMakeLists.txt: fix Qml build emulation.
     - CMakeLists.txt: copy desktop file to package/metadata.desktop if
       USE_DESKTOP_FILE is enabled. Also make sure to clean it up again.
+    - CMakeLists.txt: make sure to use the Qt5::... targets, older systems do
+      not define a versionless alias, since this was only introduced for
+      Qt-6-compatibility.
   * x2goplasmabindings.spec:
     + Prepare for Plasma 5 support.
     + Stop duplicating Group tag.

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2goplasmabindings.git


More information about the x2go-commits mailing list