why never loading the KDE styles with selfbuild QT?
I often must build a new QT library on Linux for development reasons. I started KDevelop and set there a new QTDIR environment. My (only QT,not KDE) application compiled and linked fine, but when it starts it never has my KDE style.
The QT library was not loading the KDE-styles libs, although the BUILD_KEY was the same. Unfortunately there are no error or warning messages when I start my application at console. Has anyone build a QT library who was able to load the KDE styles?
I think your version of Qt does not find the KDE-styles. You can set the directories in which Qt should search for plugins using the tool qtconfig. There you can also set the default style.
It's nice to be important but it's more important to be nice
excellent! that was the solution.
the name of the style plugin, is stored at ~/.qt/qtrc, which could be also manipulated with KDE Control Center or the programm "qtconfig".
but as you said, the entry "libraryPath" in the section [3.3] (my new QT lib), didn't include the path to the KDE plugins, which is "/opt/kde3/lib/kde3/plugins"
I'm having a similar problem albeit not on the programming side. I've compiled my own copy of qt-x11-free-3.3.1. When I boot up using that as my copy of Qt I only get a very very poor choice of styles ( 6 I think ), and when loading this page virtually all of the graphics are missing. Is this connected to the fact that I didn't enable the gif option when I configured it?