LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 05-23-2018, 06:15 PM   #1
re_nelson
Member
 
Registered: Oct 2011
Location: Texas, USA
Distribution: LFS-SVN, Gentoo~amd64, CentOS-7, Slackware64-current, FreeBSD-11.1, Arch
Posts: 229

Rep: Reputation: Disabled
Missing icons in QT5 designer


I have both QT4 (4.8.7) and QT5 (5.10.1) installed on my BLFS/SVN system. Only recently have I noticed that some of the toolbar icons are missing ONLY on the QT5 instance of designer, falling back to the generic image.

The build and installation of qt-everywhere-src-5.10.1.tar.xz was error free and, thus, I can't account for the missing toolbar icons.

The screenshots show designer, both QT4 where all are populated and QT5, where some are missing.

Has anyone else come across a similar problem or is your QT5 designer toolbar filled with the appropriate icons?
Attached Thumbnails
Click image for larger version

Name:	qt_designer5.jpeg
Views:	158
Size:	17.1 KB
ID:	27705   Click image for larger version

Name:	qt_designer4.jpeg
Views:	142
Size:	18.3 KB
ID:	27706  

Last edited by re_nelson; 05-23-2018 at 06:19 PM.
 
Old 05-28-2018, 10:06 PM   #2
Luridis
Member
 
Registered: Mar 2014
Location: Texas
Distribution: LFS 9.0 Custom, Merged Usr, Linux 4.19.x
Posts: 616

Rep: Reputation: 167Reputation: 167
Looks like it switched to generic ones. Try creating some symlinks and/or check your QT_QPA_PLATFORMTHEME environment variable, it is most likely related to whatever is managing your desktop theme.
 
Old 05-28-2018, 11:25 PM   #3
re_nelson
Member
 
Registered: Oct 2011
Location: Texas, USA
Distribution: LFS-SVN, Gentoo~amd64, CentOS-7, Slackware64-current, FreeBSD-11.1, Arch
Posts: 229

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Luridis View Post
...check your QT_QPA_PLATFORMTHEME environment variable, it is most likely related to whatever is managing your desktop theme.
That was the remedy for replacing the generic icons with those that are task-specific. Setting QT_QPA_PLATFORMTHEME=qt5ct enabled all of the icons. Alternately invoking designer with this option also solved the problem: --platformtheme qt5ct.

I'm marking the thread solved, attaching a screenshot showing the fully-populated icons as proof and thank you, a fellow Texan, very much for the pointer.
Attached Thumbnails
Click image for larger version

Name:	qtdesigner.jpeg
Views:	120
Size:	32.7 KB
ID:	27775  
 
  


Reply

Tags
designer, icons, qt4, qt5



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Most icons fail to display in KDE Qt5 apps in Openbox cowlitzron Linux - Software 4 04-23-2018 01:57 AM
[SOLVED] My icons are missing davidehm Slackware 1 12-23-2010 04:16 PM
[SOLVED] Desktop icons missing, right click doesn't work, Places-connect to network missing BlackCrowe Linux - General 8 11-26-2010 07:23 AM
MS icons missing lkgahlot Fedora 0 12-02-2004 05:41 AM
QT Designer Icons amos Programming 2 09-24-2003 09:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 03:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration