Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My fonts in general within QtCreator inside Ubuntu 13.04 looks 'ugly' when compared to how they looked in 12.10.

12.10 still used Qt4, so did something regarding the font rendering in Qt5 and the most up to date QtCreator change then?

If so, is there a workaround and or fix for this please? Seeing that this affects the Ubuntu-SDK (which of course is using QtCreator) one would assume that a fix must be available ;)

share|improve this question
The fonts go back to pretty if you use MainView instead of Rectangle as the root element, at least for me. Check the Ubuntu-touch style guide for details about the font styles and recommendations on which ones to use where. – RobotHumans Apr 26 '13 at 12:45

By default qt5 used xft instead of fontconfig how it was in qt4 version: Infinality patch is fix that for me.

  • Install infinality font patch:

    sudo add-apt-repository ppa:no1wantdthisname/ppa sudo apt-get update sudo apt-get upgrade sudo apt-get install fontconfig-infinality

  • Configure font config:

    sudo bash /etc/fonts/infinality/ setstyle and select linux

  • In file /etc/profile.d/ change variable USE_STYLE from DEFAULT to UBUNTU: USE_STYLE="UBUNTU" (in my PC it's line #712)

  • Restart X server.

For more information see I tested that on ubuntu 14.04.

share|improve this answer

You can use Qt5 Configuration Tool to tell Qt 5 to use GTK+ style and change font settings

enter image description here

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.