You are not logged in.

nikolisin

Beginner

  • "nikolisin" started this thread

Posts: 2

Location: munich

Occupation: software developer

  • Send private message

1

Sunday, April 4th 2004, 8:41pm

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?

harald

axeljaeger

Beginner

Posts: 10

Location: Frankfurt Germany

Occupation: Student

  • Send private message

2

Monday, April 5th 2004, 8:57am

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

nikolisin

Beginner

  • "nikolisin" started this thread

Posts: 2

Location: munich

Occupation: software developer

  • Send private message

3

Monday, April 5th 2004, 10:12am

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"

amos

Beginner

Posts: 10

Location: Manchester, UK

  • Send private message

4

Sunday, April 18th 2004, 10:44pm

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?

Cheers
Amos
May the wind at your back never be your own!

amos

Beginner

Posts: 10

Location: Manchester, UK

  • Send private message

5

Wednesday, April 21st 2004, 10:57pm

Well I've solved my own problems.

1. The lack of Icons/Images on the web page was due to lack of GIF support in Qt.

2. Recompiling kdelibs and installing it (I actually used checkinstall to make a Slackware package) solved the problem with the styles.

Cheers
Amos
May the wind at your back never be your own!

amos

Beginner

Posts: 10

Location: Manchester, UK

  • Send private message

6

Wednesday, April 21st 2004, 11:00pm

Woops, this was a double post. Sorry!


Cheers
Amos
May the wind at your back never be your own!

This post has been edited 1 times, last edit by "amos" (Apr 21st 2004, 11:03pm)