[Interest] Image Format plugins not loading on windows
程梁
devbean at outlook.com
Fri Mar 8 01:50:07 CET 2013
And you have to add the following: QApplication::addLibraryPath(QLatin1String("./plugins"));in your main() function which "./plugins" should be the directory contains plugins dir (imageformats, etc).
Cheng Liang
Nanjing, China
http://www.devbean.net
Date: Fri, 8 Mar 2013 00:14:44 +0100
From: daehn at asinteg.de
To: interest at qt-project.org
Subject: Re: [Interest] Image Format plugins not loading on windows
Hi,
please ensure the following prerequisites:
* MSVC++ RunTime installed globally? or do you already placed the MSVC DLLs in each of your dirs (of executable and plugin dirs)?
* all plugin dirs must be copied as followed to your executable dir:
C:\Qt-4.8.4\plugins\imageformats\ => MyApp\imageformats\
C:\Qt-4.8.4\plugins\sqldrivers\ => MyApp\sqldrivers\
The above instructions are spread over the Qt docs and work in our company's projects since WinXP and up to Win7.
ciao,
Christian
_______________________________________________
Interest mailing list
Interest at qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130308/b6631a42/attachment.html>
More information about the Interest
mailing list