You are not logged in.

Dear visitor, welcome to QtForum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Monday, February 20th 2012, 2:57pm

Look and Feel with static qt

I compiled my application with a qt4.7 static build, after that the Qt about dialog looks like this ...



I used the configure under x11 , so i couldnt find a way to add the QPlastiqueStyle style to the ./configure call ....


In the application i add the style with that code

Source code

1
    QApplication::setStyle(new QPlastiqueStyle); 


If i use the qt lib dynamic, everything is good and the style are correct.
Have anyone a idea i can i add the style in a static build?
What is the problem? Why is the style "away"?

This post has been edited 2 times, last edit by "kumpane" (Feb 20th 2012, 3:44pm)


2

Friday, June 8th 2012, 1:16am

It's the same, when compiling with static libraries, I have the same problem.

Any ideas? Thanks in advance.