Details
-
Type:
Bug
-
Status: Closed
-
Priority:
P2: Important
-
Resolution: Invalid
-
Affects Version/s: 5.4.1
-
Fix Version/s: None
-
Component/s: GUI: Look'n'Feel, QPA: X11/XCB
-
Labels:None
-
Environment:Kubuntu 15.04
Description
QIcon::fromTheme appears to be using the default system theme even after calling QIcon::setThemeSearchPaths and QIcon::setThemeName with proper values.
It has the correct behaviour if everything is done before constructing a QApplication object, otherwise it will not use the correct theme.
It works fine on Qt 4.8 but not on Qt 5.4.1, haven't tried other versions beside these.
Attachments
Issue Links
- relates to
-
QTBUG-74252 empty icons on QQC2 and Qt 5.12
-
- Closed
-