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: [email protected]
To: [email protected]
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
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest
_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest