17.2. Gtk2, Gtk3, Qt4, Qt5 and Qt6
Prev | 17. Integration with X resources and widgets | Next

### 17.2. Gtk2, Gtk3, Qt4, Qt5 and Qt6

$NSCDE_TOOLSDIR/themegen with `$NSCDE_LIBDIR/NsCDE/python` and with `$NSCDE_DATADIR/integration/gtk2_gtk3_qt` are parts of the optional Gtk2, Gtk3, Qt4, Qt5 and Qt6 integration suite. When run from the Color Style Manager or manually with the $NSCDE_TOOLSDIR/themegen, with proper options, this will produce `$HOME/.themes/NsCDE` directory with either or both Gtk2 and Gtk3 themes. `$HOME/.gtkrc-2.0` and `$HOME/.config/gtk-3.0/settings.ini` will be edited to point to this directory with `gtk-theme-name` option. Excessive button images on menus and buttons will be turned off of course.

Figure 77. Example: Audacious with motified NsCDE theme: GTK engine for Qt5

If Qt4 and/or Qt5 integration based on GTK2 engine is also selected in Color Style Manager, files `$HOME/.config/Trolltech.conf` and `$HOME/.config/qt5ct/qt5ct.conf` will be edited to use "GTK2" Qt theme engine. This means, there is no Qt4 and/or Qt5 integration without at least Gtk2 integration because Gtk2 theme in use is deciding what GTK2 Qt4 and Qt5 engine will display. For Qt5 integration, make sure qt5-qtstyleplugins (or something like that name) is installed: `platformthemes/libqgtk2.so` is needed.

In NsCDE 2.1, Qt5 alternative Kvantum SVG based engine was introduced. It is independent from gtk2 style plugin, but qt5-style-kvantum (or similar system dependent package name) must be installed for this to work. From NsCDE 2.3 upwards, Kvantum engine is default for Qt5 in Color Style Manager, and the only one option for newer Qt6.

All integrations of this type: GTK2, GTK3, QT4, QT5 and QT6 are turned on in the Color Style Manager.

Prev | Up | Next
17. Integration with X resources and widgets | Home | 17.3. Mozilla: Firefox and Thunderbird