Hi,

I tried to set the icon search path relative to the application directory, e.g. 
like:

QIcon::setThemeName(QStringLiteral("breeze"));
QIcon::setThemeSearchPaths(QStringList() << 
QCoreApplication::applicationDirPath() + QStringLiteral("/../Resources/icons"));
  
with breeze dir inside the "icons" path with the index.theme inside.

Sometimes, that even works, sometimes, not.

Is there anything special to do? Does KIconThemes play around with that, too?

Greetings
Christoph

-- 
----------------------------- Dr.-Ing. Christoph Cullmann ---------
AbsInt Angewandte Informatik GmbH      Email: cullm...@absint.com
Science Park 1                         Tel:   +49-681-38360-22
66123 Saarbrücken                      Fax:   +49-681-38360-20
GERMANY                                WWW:   http://www.AbsInt.com
--------------------------------------------------------------------
Geschäftsführung: Dr.-Ing. Christian Ferdinand
Eingetragen im Handelsregister des Amtsgerichts Saarbrücken, HRB 11234

Reply via email to