17.2. Gtk2, Gtk3, Qt4 and Qt5

$NSCDE_TOOLSDIR/themegen with $NSCDE_LIBDIR/NsCDE/python and with $NSCDE_DATADIR/integration/gtk2_gtk3_qt are parts of the optional Gtk2, Gtk3, Qt4 and Qt5 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 75. Example: Audacious with motified NsCDE theme: GTK engine for Qt5

Example: Audacious with motified NsCDE theme: GTK engine for Qt5

If Qt4 and/or Qt5 integration 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.

As from NsCDE 2.1, Qt5 has an alternative Kvantum based engine which can be selected instead of default gtk2 based one. It is independent from gtk2 style plugin, but qt5-style-kvantum (or similar system dependent package name) must be installed for this to work.

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