Thomas wrote: > My applications don't seem to follow my kde4 style settings. Even if I > set my kde4 style setting to plastique or one of the other usual qt > styles my application always seems to display using the windows style. > It displays using the correct style on windows xp and vista and also on > kde3. I don't believe anywhere I change the style at all anywhere in > the application. What could be the reason for this and is there a way > that I could detect the current style and have the app use it?
Hi Thomas, Qt Jambi, in the binary package, will explicitly not pick up the system KDE4 styles as these will be compiled and linked against a potentially binary incompatible version of Qt, and loading a system plugin will most likely load system Qt, meaning two versions of the Qt libraries are loaded and it would crash. This goes for all C++ plugins that stem from your system Qt. For Jambi to pick up the system styles, you need to build it from scratch using the system Qt, which may not be straightforward as Qt Jambi expects a normal Qt source package to build. When running the code you must use the LD_LIBRARY_PATH / -Djava.library.path approach to loading the native libraries, rather than the platform .jar file. best regards, Gunnar _______________________________________________ Qt-jambi-interest mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest
