Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
None
-
5.3.1
-
None
Description
// HICOLOR
QString currTheme = QIcon::themeName();
QIcon::setThemeName("hicolor");
qDebug() << QIcon::themeName();
if (QIcon::hasThemeIcon(_iconName))
This does not return the icon of qtcreator. _iconname is "QtProject-qtcreator.png". But it is there:
$ find /usr/ -iname *QtProject-qtcreator.png
/usr/share/icons/hicolor/24x24/apps/QtProject-qtcreator.png
/usr/share/icons/hicolor/32x32/apps/QtProject-qtcreator.png
/usr/share/icons/hicolor/16x16/apps/QtProject-qtcreator.png
/usr/share/icons/hicolor/256x256/apps/QtProject-qtcreator.png