QIcon Search Paths Question

Christoph Cullmann cullmann at absint.com
Wed Oct 21 19:41:41 BST 2015


;=)

Forget my question, macdeployqt just purged my svg icon engine ;)

Greetings
Christoph

----- Am 21. Okt 2015 um 20:00 schrieb cullmann cullmann at absint.com:

> 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: cullmann at 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

-- 
----------------------------- Dr.-Ing. Christoph Cullmann ---------
AbsInt Angewandte Informatik GmbH      Email: cullmann at 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




More information about the kde-core-devel mailing list