LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   qt5-styleplugins compile error on -current (https://www.linuxquestions.org/questions/slackware-14/qt5-styleplugins-compile-error-on-current-4175649877/)

Daedra 03-09-2019 03:00 PM

qt5-styleplugins compile error on -current
 
Hi all,

I had some down time today so I thought I would try out Eric's newest KDE5 on a current VM. Everything is up and running smoothly, however when 15.0 does get released I am still going to stay with mate instead of KDE. Right now I am attempting to get uniformity between my qt5 and GTK2/3 themes. The option for qt5 to use gtk+ themes was removed a while back (why trolltech!) and moved to a project called qt5-styleplugins. qt5-styleplugins adds 4 style options to qt5, cleanlooks, gtk2, motif, and plastique. But unfortunately the build fails at compiling the gtk2 portion. If I remove it from the compile it works, but of course that is the style I need. I can't find anybody having compile problems during my searches so I thought I would post here for help. I have tried the package at SBo, and I have tried compiling the latest git release, both with the same error. any help is appreciated. Here is a link the compile output.

https://pastebin.com/7UvabRkg

montagdude 03-09-2019 04:16 PM

This doesn't directly answer your question, but there is kde-gtk-config:

https://cgit.kde.org/kde-gtk-config.git/

At least in the past, this was the package that provided the option in KDE system settings to use the GTK theme. I have a SlackBuild for it on SBo, but it is stuck on an old version to support KDE 4.

Daedra 03-09-2019 04:39 PM

Thanks man, I will look into it. I managed to find a project called qt5tgtk (https://bitbucket.org/trialuser02/qt5gtk2). After I installed it I used qt5ct to set the theme and it did work, but it was also causing seg faults in some programs like vlc. After I read here https://forum.manjaro.org/t/vlc-3-gi...-theme/42551/7 I was able to find a fix for the seg faults and it is now working. I now have qt5 using my gtk2 theme so I have full uniformity. However I have found other programs that say they do the same thing, so I am going to try what you suggested and some others to see which one is the most stable/best.

Thanks again

Daedra 03-09-2019 05:44 PM

Quote:

Originally Posted by montagdude (Post 5972176)
This doesn't directly answer your question, but there is kde-gtk-config:

https://cgit.kde.org/kde-gtk-config.git/

At least in the past, this was the package that provided the option in KDE system settings to use the GTK theme. I have a SlackBuild for it on SBo, but it is stuck on an old version to support KDE 4.

Still working on this, but I found that this package is already installed as part of Eric's Ktown. All it seems to do is set the gtk themes within a KDE environment. Like you mentioned on on qt4 you could simply set your qt theme to use gtk, but this was removed from qt5 after release 5.7 and passed over to the qt5-styleplugins package. I still can't get that to compile, but the qt5gtk package is working fine so far. I still want to get the qt5-styleplugins working to see if there implementation of QGtkStyle is better than what I am using.

Arch has a good wiki about all of this
https://wiki.archlinux.org/index.php...K_applications


All times are GMT -5. The time now is 01:38 PM.