Theme is always the weak point of Qt. Gtk+ does better in this field IMO.
The problem of Qss is quite apparent. It does not work together with QStyle.
When they're used at the same time, your widgets stop following the
default style set by qtconfig.
That's why changing the widget styles, fonts, and colors has no effect
at all on lxqt components which loads their qss files.
Qss does not work with transparent toplevel widget IIRC. It only
handle transparency for child widgets.
It's a big problem to solve. While qss is handy, it did not get enough
improvement from upstream.
I'm still trying to find some workarounds to make QStyle and Qss work together.

In Qt 5, things become different.
Qt4 reads Trolltech.conf for the settings. Qt5 completely relies on
platform plugin to do the work and Trolltech.conf file is gone. The
qtconfig tool has been removed, too. We'll need to develop a platform
plugin for Qt5 then.
Unfortunately, the problem mixing QStyle and qss is not solved in Qt 5, either.

I came up with an idea earlier.
With the use of platform plugins, we can inject Qss style for nearly
any Qt program.
That means, we can install our qss files to theme all other apps.
Anyway we need a better default Qt style than the Windows 95-like default.

Porting to qml is too far a step at the moment.
Please, let's finish the Qt 5 port first.
I can continue the work done by Sokoloff if no other people are going to do it.
Xlib/xcb is not such as big issue since Xlib still work in Qt5.
The only thing that needs re-design is X11 event filter as this is
handled by xcb in Qt5.

Just my two cents.

------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
• 3 signs your SCM is hindering your productivity
• Requirements for releasing software faster
• Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
Lxde-list mailing list
Lxde-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxde-list

Reply via email to