Ubuntu – Qt 5 configuration

configurationkdekde4qtqt5

I have a problem setting Qt5 apps correctly on my computer.
I'm running Ubuntu 14.04 with KDE4, I have configured the look in the KDE system settings and that look is used in every qt4 apps and gtk apps, but not in qt5 apps.
The most annoying think is that I use double click to activate item, but in qt5 apps this is ignored and items are activated with single click.

Does anybody know how can I change the default Qt5 setting?
I have tried deleting my .kde folder, moving it to .kde4, tried different configurations in KDE system settings, tried to find qtconfig for Qt5 (which seems not to exist anymore) and even installed daily build of KF5 and used the KDE5 system setting where I set theme, coloring and mouse behaviour and even that was ignored in Qt5 apps.

I know that Qt5 will tried to use the system settings automatically – that is the reason why there is no qtconfig, but it just not working at all.

So here I'm asking for anybody help on this topic or at least some info how to configure Qt properly or to say it better: how to configure qt5 at least somehow.

Also I'm using the ubuntu's QT5.2.1 but I also installed QT5.3 from Qt website but the behaviour is the same in both version

Best Answer

Unfortunately Qt5 designers removed the package equivalent of qt4-qtconfig in Qt4. They leaved as well quite a big bug behind as Qt5 ignores the font-config of the system.

There is then no way around to "correct" the font used by Qt5.

To get some applications behave like the others on my desktop I had to recompile them with Qt4 whenever possible.

Thus bug is now reported as closed in Qt5 version 5.4 on Aug. 20, 2014 ...

However, at this moment there is no Debian nor Ubuntu packages available from Qt5 version 5.4, even in the “Canonical Qt5 Edgers” team PPA.

Although I found a Qt5 Configuration Tool on http://qt-apps.org website, still this app requires Qt5 version 5.4.0.

I hope Ubuntu will backport this version to Trusty 14.04 LTS one day ...

Related Question