SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm running a PyQt application in a Slackware64 (current release) and saw that the QMessageBox class don't show me the icons. The same happens with Slackware-current.
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810
Rep:
Yes - I've noticed this with PyQt4. Try changing KDE's settings. Goto System Settings->Appearance->Style and change Widget Style to Plastique or CleanLooks. It should then show your icons with the message boxes.
But I tried with Kubuntu and icons appeared normally. I compared the folder /usr/share/icons of the Slackware and Kubuntu and saw that have more icons in the Slackware, which means there is no lack of icon, but perhaps some configuration to compile KDE, Qt and PyQt.
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810
Rep:
Hmm - I have just tried this on Kubuntu as, as you say, the icons appear for the "Oxygen" widget style whereas they don't on Slackware current.
Looking at the directories /usr/share/icons/oxygen/{8x8,16x16,22x22,32x32,48x48,128x128,scalable}} it looks like the all the icons are there in Slackware.
Very odd. I must admit that I don't know the ins and outs of a KDE4 build or in fact exactly how all the components are inter-related i.e. icons and dialogs in the component packages. I must admit it's very strange though. I always thought it was a bug in KDE till you pointed out this works in Kubuntu. Thanks for that.
This worked in the Oxygen widget style setting of KDE4 so it must have something odd going on in the build of QT/KDE or perhaps the PyQT4 package of Slackware as it works in Kubuntu. It may be worth reporting this to Pat as that's the idea of current in the first place !
Addendum: OK - I wouldn't report it to Pat just yet. I just tried the same thing in OpenSuse and I couldn't get any icons to display under any widget style setting whatsoever! Possibly a KDE bug after all. Maybe Kubuntu has fixed this or applied some update.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.