summaryrefslogtreecommitdiff
path: root/vcl/Module_vcl.mk
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2023-06-22 08:48:05 +0200
committerMichael Weghorn <m.weghorn@posteo.de>2023-06-22 22:16:11 +0200
commit720bf6ac8612c32942bb059f9086ee86c2963bb5 (patch)
treed175788a07888a6f51adb22be1042409a2c29b86 /vcl/Module_vcl.mk
parent8b0e1f2a914d672182d585d8cb2d4a815e88977e (diff)
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 <m.weghorn@posteo.de>
Diffstat (limited to 'vcl/Module_vcl.mk')
-rw-r--r--vcl/Module_vcl.mk8
1 files changed, 8 insertions, 0 deletions
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 \