summaryrefslogtreecommitdiffstats
path: root/misc/fcitx5-qt/README
diff options
context:
space:
mode:
Diffstat (limited to 'misc/fcitx5-qt/README')
-rw-r--r--misc/fcitx5-qt/README23
1 files changed, 17 insertions, 6 deletions
diff --git a/misc/fcitx5-qt/README b/misc/fcitx5-qt/README
index 3dfcdbe776..2f83854aea 100644
--- a/misc/fcitx5-qt/README
+++ b/misc/fcitx5-qt/README
@@ -1,5 +1,7 @@
-fcitx5-qt is the Qt im-module for fcitx5 and it's needed to use fcitx5
-with Qt-based applications. It currently supports Qt4, Qt5 and Qt6.
+fcitx5-qt is the Qt im-module for fcitx5 and it needs to be installed
+in order to use fcitx5 with Qt-based applications. It currently
+supports Qt4, Qt5 and Qt6.
+
You'll need several Qt modules if you're going to enable Qt5/Qt6
support, namely QtCore, QtDbus, QtWidgets and QtX11Extras. Qt5 is
bundled in Slackware, however if you want Qt6 support you're on your
@@ -7,8 +9,17 @@ own; but any app that requires Qt6 on SBo at this point should have
already pulled all the dependencies in.
Relevant CMake options are ENABLE_QT4, ENABLE_QT5 and ENABLE_QT6.
-Both ENABLE_QT4 and ENABLE_QT5 are turned on by default, and ENABLE_QT6
-is turned off by default; however Slackware has dropped Qt4 in Slackware
-15, so ENABLE_QT4 is turned off in the SlackBuild. You might want to
-turn on/off the flag depending on the Qt version you are using.
+ENABLE_QT4 is turned off by default, ENABLE_QT5 and ENABLE_QT6 are
+turned on by default. However to avoid pulling in excess dependencies,
+Qt6 support is turned off in the SlackBuild. If you need Qt4 or Qt6
+support, you might want to turn the flags on/off depending on the Qt
+version you are using. To enable Qt4, you need to modify
+
+ -DENABLE_QT4=Off \
+
+from "Off" to "On". Similarly, to turn on Qt6 support, turn
+
+ -DENABLE_QT6=Off \
+ -DENABLE_QT6_WAYLAND_WORKAROUND=Off ..
+from "Off" to "On".