https://github.com/trialuser02/qt6gtk2
GTK+2.0 integration plugins for Qt6
https://github.com/trialuser02/qt6gtk2
gtk2 qt6 style
Last synced: 9 months ago
JSON representation
GTK+2.0 integration plugins for Qt6
- Host: GitHub
- URL: https://github.com/trialuser02/qt6gtk2
- Owner: trialuser02
- License: gpl-2.0
- Created: 2020-07-01T19:59:30.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-09-26T14:22:46.000Z (over 1 year ago)
- Last Synced: 2025-01-02T15:12:41.523Z (over 1 year ago)
- Topics: gtk2, qt6, style
- Language: C++
- Homepage:
- Size: 339 KB
- Stars: 58
- Watchers: 3
- Forks: 7
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog
- License: COPYING
- Authors: AUTHORS
Awesome Lists containing this project
README
Qt6Gtk2 - GTK+2.0 integration plugins for Qt6
Official home page: https://github.com/trialuser02/qt6gtk2
Requirements:
- GNU Linux or FreeBSD
- qtbase >= 6.0.0 (with private headers)
- GTK+ 2.0
- libX11
Installation:
- Arch AUR
https://aur.archlinux.org/packages/qt6gtk2/
- Source Code
```
qmake PREFIX=
make
sudo make install
```
To change default installation root you should run the following
command:
`make install INSTALL_ROOT="custom root"`
Add line `export QT_QPA_PLATFORMTHEME=gtk2` to `~/.profile` and re-login.
Alternatively, create the file `/etc/X11/Xsession.d/100-qt6gtk2` with
the following line:
`export QT_QPA_PLATFORMTHEME=gtk2`
(`qt5gtk2` for compatibility with Qt5Gtk2, `qt6gtk2` is also a valid value)
Now restart X11 server to take the changes effect.
Files and directories:
`libqt6gtk2.so` - GTK+2.0 platform plugin
`libqt6gtk2-style.so` - GTK+2.0 style plugin
Attention!
Environment variable `QT_STYLE_OVERRIDE` should be removed before usage.