[Interest] Qt styles, Qt installations
annulen at yandex.ru
Wed Aug 28 11:50:37 CEST 2013
28.08.2013, 12:52, "Clément Geiger" <clement.geiger at gmail.com>:
> Hi there,
> I'm experiencing some trouble understanding what's going on with Qt styles. Let me explain my setup: I'm running ubuntu 12.04, with the standard Qt libs installed from the Ubuntu repositories. That gives us Qt 4.8.1.
> Today I wanted to try out the latest Qt 4.8 to date, Qt 4.8.5
> So I downloaded the sources, configured (./configure) compiled and installed it (make && make install). Everything ran smooth and I had a brand new Qt 4.8.5 sitting in /usr/local/Trolltech/Qt4.8.5.
> I setup my kit in QtCreator so that it uses this kit, clean and recompile my project, again everything is fine.
> Then I run it, but my application now looks ugly ! Bizarre colors, aliased texts and so on.
> (here is a screenshot of a minimal test case I set up to show the difference : http://hpics.li/a879bd1 The expected look is on the left)
> My question is then, what did I do wrong and how could I fix this ?
> Thank you in advance for your time !
I guess you've built Qt without glib support, so you don't have gtk style. Try to run qtcreator with -style cleanlooks or -style platique to make it somewhat better.
More information about the Interest