c++ - SVG icons not showing up in Qt4 release build in windows -


i have qt4 application svg icons, compiled mingw (in windows), linked qt shared libraries.

when application run, svg icons show in debug , release builds in linux, in windows svg icons show in debug build not in release build.

all svg icons listed in project.qrc, , project.pro has resources = project.qrc. application uses qtsvg4.dll (version 4.7.0).

qt 4.7.0, qt creator 2.0.1, mingw/g++ 4.4.0.

solution update: in application directory, create /imageformats/ directory , put qsvg4.dll there instead of application directory itself, or create qt.conf file appropriate path. more information in deploying plugins.

most have include plugins qt dir. involves making qt.conf file local app (see here: http://doc.qt.io/qt-4.8/qt-conf.html , more [paths] section), , copy c:\qt\4.x.x\plugins\imageformats*.dll distributable's directory.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -