![]() Registered Member ![]()
|
Hi,
When run application compiled on Qt 5.1 on my linux KDE, default theme is fusion, not Oxygen. On Qt 4.X it is fine. Don’t know if this is KDE or Qt fault but Google says that the reason is that Oxygen style on KDE was compiled using Qt 4.X. What does it mean? On all platforms (even windows xp) Qt application look and feel native, but on KDE which is based on Qt too, it has problems. This is sad and ironic. Can this be fixed somehow? Can I just compile Oxygen with my Qt 5.1 and deploy this style with other libs or something? Tried force to use oxygen-gtk but it looks bad. I supose that problem disappear when KDE will move to Qt 5.X but this could take months or even years. We will probably have Qt 6.X then… Regards |
![]() Global Moderator ![]()
|
Qt5 breaks binary compatibility with Qt4 (thus the new major version number). Since Oxygen is a plugin, it is required to be rebuilt (and eventually adjusted, since Qt5 breaks source compatibility with Qt4 in some places, too) if you want to use it with Qt5 apps. KDE SC has not yet completed the move to Qt5, although much work is being done on it.
In short this means there's no "supported" way to run Qt5 apps with Oxygen; you can try to compile it against Qt5 though. This will change as soon as KDE Frameworks 5 is released. I don't know about the current state of Oxygen for Qt5 though and how well it works. Greetings, Sven
I'm working on the KDevelop IDE.
|
![]() Registered Member ![]()
|
|
![]() Registered Member ![]()
|
Do you know how can I build oxygen theme plugin? I want give a try. Must I build whole KDE or can I extract oxygen part?
|
![]() Administrator ![]()
|
The Oxygen widget style itself appears to be located in kde-workspace, at libs/oxygen/.
You will need to adapt the build system though, and quite possibly some of the code, to enable it to build successfully against Qt 5 however.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Administrator ![]()
|
A Qt5 port of the style is in the works. It will be likely ready when Plasma Workspaces 2 is released.
"Violence is the last refuge of the incompetent."
![]() Plasma FAQ maintainer - Plasma programming with Python |
![]() Registered Member ![]()
|
Could you give me some link where I can follow progress? And how it will work when port will be ready? I just compile oxygen style plugin , deploy with rest of my Qt5 libs and oxygen will just magically start working on old KDE4 based on Qt4?
|
![]() Administrator ![]()
|
I'm not sure it will. Currently it's quite hard to follow progress because KDE Frameworks 5 is a moving target (lots of work that needs to be done). I would suggest you to check back in a few months when (hopefully) some dust will have settled.
"Violence is the last refuge of the incompetent."
![]() Plasma FAQ maintainer - Plasma programming with Python |
![]() Registered Member ![]()
|
you can extract oxygen part only
I Am Still Learning About KDE
|
![]() Registered Member ![]()
|
Registered users: Bing [Bot], Google [Bot], Sogou [Bot]