|
2 | 2 |
|
3 | 3 | ## Overview
|
4 | 4 |
|
5 |
| -This repository is providing a library `libqtlxqt` to integrate Qt with LXQt. |
| 5 | +This repository provides the library `libqtlxqt` to integrate Qt with LXQt. |
6 | 6 |
|
7 |
| -With this plugin, all Qt-based programs can adopt settings of LXQt, such as the icon theme. |
| 7 | +With this plugin, all Qt-based programs can adopt settings of LXQt, such as the icon theme and Qt style. |
8 | 8 |
|
9 | 9 | ## Installation
|
10 | 10 |
|
11 | 11 | ### Compiling source code
|
12 | 12 |
|
13 |
| -Runtime dependencies are [libdbusmenu-lxqt](https://github.com/lxqt/libdbusmenu-lxqt) and [liblxqt](https://github.com/lxqt/liblxqt). |
14 |
| -Additional build dependencies are CMake and qttools, optionally Git to pull latest VCS checkouts. |
| 13 | +Runtime dependencies are [libdbusmenu-lxqt](https://github.com/lxqt/libdbusmenu-lxqt), [libfm-qt](https://github.com/lxqt/libfm-qt) and [libqtxdg](https://github.com/lxqt/libqtxdg). |
| 14 | +Additional build dependencies are CMake, [lxqt-build-tools](https://github.com/lxqt/lxqt-build-tools), qt6-tools and optionally Git to pull latest VCS checkouts. |
15 | 15 |
|
16 | 16 | Code configuration is handled by CMake. CMake variable `CMAKE_INSTALL_PREFIX` has to be set to `/usr` on most operating systems.
|
17 | 17 |
|
18 | 18 | To build run `make`, to install `make install` which accepts variable `DESTDIR` as usual.
|
19 | 19 |
|
20 | 20 | ### Binary packages
|
21 | 21 |
|
22 |
| -Official binary packages are provided by all major Linux distributions like Arch Linux, Debian (as of Debian stretch only), Fedora and openSUSE. Just use your package manager to search for string `lxqt-qtplugin`. |
| 22 | +Official binary packages are provided by all major Linux distributions like Arch Linux, Debian, Fedora and openSUSE. Just use your package manager to search for string `lxqt-qtplugin`. |
23 | 23 |
|
24 | 24 | ## Configuration, Usage
|
25 | 25 |
|
26 |
| -To use the plugin in Qt 5, we have to export environment variable `QT_QPA_PLATFORMTHEME=lxqt`. Then every Qt5 program can load the theme plugin. |
27 |
| -If, for some unknown reasons, the plugin is not loaded, we can debug the plugin by exporting `QT_DEBUG_PLUGINS=1`. Then, Qt5 will print detailed information and error messages about all plugins in the console when running any Qt5 programs. |
| 26 | +To use the plugin in Qt, the environment variable `QT_QPA_PLATFORMTHEME=lxqt` has to be exported, such that every Qt application can load the theme plugin. |
| 27 | +If, for some unknown reasons, the plugin is not loaded, we can debug the plugin by exporting `QT_DEBUG_PLUGINS=1`. Qt will print detailed information and error messages about all plugins in the console when running any Qt program. |
| 28 | + |
| 29 | +For Qt5 support please see the [wiki](https://github.com/lxqt/lxqt/wiki/Building-from-source#qt5-support). |
0 commit comments