Warning: This page is here for historical purposes. Since Qt 4.5, QGtkStyle has been shipped as part of the official Qt distribution. If you have any bugs or issues to report, please report them on the official Qt bugreport forum:
The style requires Qt 4.3 (though 4.4 is preferred) and GTK+ 2.0 or higher. It intends to make Qt applications blend perfectly into the GNOME desktop environment by using GTK to render all components.
Selecting GTK+ theme in Qt Configuration gives this error:
$ qtconfig
QGtkStyle was unable to detect the current GTK+ theme.
(process:23853): Gtk-CRITICAL **: gtk_widget_style_get: assertion `GTK_IS_WIDGET (widget)' failed
zAchAry wrote:Are you able to use the GTK+ theme rendering feature of Qt with Qt?
Yes, I'm using it since some weeks. Your pastebin has expired but there where a lot of nasty messages about standard libs that could not be opened. Please try to reinstall Qt:
removepkg qt
slapt-get -u
slapt-get -i qt
root[~]# removepkg qt
Removing package qt-4.6.2_2d3d3e5-i486-1...
root[~]# slapt-get -u
Retrieving package data [http://salix.enialis.net/i486/slackware-13.1/]...Cached
Retrieving patch list [http://salix.enialis.net/i486/slackware-13.1/]...Cached
Retrieving checksum list [http://salix.enialis.net/i486/slackware-13.1/]...Cached
Retrieving checksum signature [http://salix.enialis.net/i486/slackware-13.1/]...Cached
Verifying checksum signature [http://salix.enialis.net/i486/slackware-13.1/]...No key for verification
Retrieving ChangeLog.txt [http://salix.enialis.net/i486/slackware-13.1/]...Cached
Reading Package Lists...Done
Retrieving package data [http://salix.enialis.net/i486/slackware-13.1/extra/]...Cached
Retrieving patch list [http://salix.enialis.net/i486/slackware-13.1/extra/]... Done
Retrieving checksum list [http://salix.enialis.net/i486/slackware-13.1/extra/]...Cached
Retrieving checksum signature [http://salix.enialis.net/i486/slackware-13.1/extra/]...Cached
Verifying checksum signature [http://salix.enialis.net/i486/slackware-13.1/extra/]...No key for verification
Retrieving ChangeLog.txt [http://salix.enialis.net/i486/slackware-13.1/extra/]...Done
Reading Package Lists...Done
Retrieving package data [http://salix.enialis.net/i486/13.1/]...error attempting to read pkg description
Cached
Retrieving patch list [http://salix.enialis.net/i486/13.1/]...Done
Retrieving checksum list [http://salix.enialis.net/i486/13.1/]...Cached
Retrieving checksum signature [http://salix.enialis.net/i486/13.1/]...Cached
Verifying checksum signature [http://salix.enialis.net/i486/13.1/]...Verified
Retrieving ChangeLog.txt [http://salix.enialis.net/i486/13.1/]...Cached
Reading Package Lists...Done
root[~]# slapt-get -i qt
Reading Package Lists...Done
The following NEW packages will be installed:
qt
0 upgraded, 0 reinstalled, 1 newly installed, 0 to remove, 0 not upgraded.
Need to get 60.0kB/48.4MB of archives.
After unpacking 116.4MB of additional disk space will be used.
Preparing to install qt-4.6.2_2d3d3e5-i486-1
Installing package qt-4.6.2_2d3d3e5-i486-1...
| Qt (a multi-platform C++ graphical user interface toolkit)
|
| Qt is a complete and well-developed object-oriented framework for
| developing graphical user interface (GUI) applications using C++.
|
|
|
|
|
| Homepage: http://qt.nokia.com
|
|
|
Done
root[~]# qtconfig
QGtkStyle was unable to detect the current GTK+ theme.
(process:31793): Gtk-CRITICAL **: gtk_widget_style_get: assertion `GTK_IS_WIDGET (widget)' failed
QGtkStyle was unable to detect the current GTK+ theme.
(process:31793): Gtk-CRITICAL **: gtk_widget_style_get: assertion `GTK_IS_WIDGET (widget)' failed
I remember that you said you were using some foreign packages from other locations than only the official Salix repository.
Maybe try to reproduce this weird behaviour on a fresh Salix installation without any foreign packages installed?