From 720bf6ac8612c32942bb059f9086ee86c2963bb5 Mon Sep 17 00:00:00 2001 From: Michael Weghorn Date: Thu, 22 Jun 2023 08:48:05 +0200 Subject: kf6: Add a kf6 VCL plugin Add a "kf6" VCL plugin that uses the KF6 (KDE Frameworks 6) libraries to provide a native KDE/Plasma file chooser, just like the kf5 VCL plugin does for KF5. Building the plugin is disabled by default and can be enabled by autogen option '--enable-kf6'. Selecting the VCL plugin can be done by starting LO with environment variable 'SAL_USE_VCLPLUGIN=kf6' set. The kf6 VCL plugin reuses the kf5 VCL plugin code. (The kf6 headers and sources for now just `#include` the kf5 ones.) This was quickly tested on KDE Neon unstable, which provides a daily snapshot of Plasma 6 and the KF6 libraries. (Regarding a potential release date, [1] mentions: "Plasma 6 is built on top of Qt 6 and is tentatively planned to be released in late 2023 or early 2024.") [1] https://community.kde.org/Plasma/Plasma_6 Change-Id: I4c2b7e3be8e60f1d8cf60119f6f3f642b71349f5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153438 Tested-by: Jenkins Reviewed-by: Michael Weghorn --- vcl/Module_vcl.mk | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'vcl/Module_vcl.mk') diff --git a/vcl/Module_vcl.mk b/vcl/Module_vcl.mk index 5265cd951243..5c6fbe987430 100644 --- a/vcl/Module_vcl.mk +++ b/vcl/Module_vcl.mk @@ -97,6 +97,14 @@ $(eval $(call gb_Module_add_targets,vcl,\ )) endif +ifneq ($(ENABLE_KF6),) +$(eval $(call gb_Module_add_targets,vcl,\ + CustomTarget_kf6_moc \ + Library_vclplug_kf6 \ +)) +endif + + ifneq ($(ENABLE_QT5),) $(eval $(call gb_Module_add_targets,vcl,\ CustomTarget_qt5_moc \ -- cgit