[Qt-interest] svg plugin not loaded
Bryce Allen
qt at bda.ath.cx
Tue Dec 1 00:19:05 CET 2009
I am trying to run the systray example on a Windows XP machine without
qt installed by placing the proper DLLs in the application directory. I
built the app with Qt Creater 1.2.1 (qt 4.5.3) and release build config,
and my app dir looks like this:
systray.exe
QtCore4.dll
QtGui4.dll
QtXml4.dll
iconengines\qsvgicon4.dll
imageformats\qsvg4.dll
I have read the documentation and some relevant posts in the archives,
and this looks like the correct locations for the dlls. However
when I run the app the svg icons are missing. I tried setting
QT_DEBUG_PLUGINS=1 and running systray.exe from cmd, but no debug info
is displayed.
I also checked QImageReader::supportedImageFormats() and svg is not in
the list, so it appears that it's really a problem with loading the svg
plugin and not with finding the image data. Any ideas?
Thanks,
Bryce
More information about the Qt-interest-old
mailing list