Re: QIcon Search Paths Question

2015-10-21 Thread Christoph Cullmann
;=)

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

Greetings
Christoph

- Am 21. Okt 2015 um 20:00 schrieb cullmann cullm...@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: cullm...@absint.com
> Science Park 1 Tel:   +49-681-38360-22
> 66123 Saarbrücken  Fax:   +49-681-38360-20
> GERMANYWWW:   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: cullm...@absint.com
Science Park 1 Tel:   +49-681-38360-22
66123 Saarbrücken  Fax:   +49-681-38360-20
GERMANYWWW:   http://www.AbsInt.com

Geschäftsführung: Dr.-Ing. Christian Ferdinand
Eingetragen im Handelsregister des Amtsgerichts Saarbrücken, HRB 11234


QIcon Search Paths Question

2015-10-21 Thread Christoph Cullmann
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
GERMANYWWW:   http://www.AbsInt.com

Geschäftsführung: Dr.-Ing. Christian Ferdinand
Eingetragen im Handelsregister des Amtsgerichts Saarbrücken, HRB 11234