[Qt-interest] Deploying application issue

Chris W qtinterest at psychogeeks.com
Fri Oct 2 04:16:15 CEST 2009


Robert Escott wrote:
> If you are using QCreator and you downloaded the all-in-one installation file, there are two versions of the libraries on your system, one is used by QCreator and the other is used by your programs.
> On my system, the two directories are:
> c:\Qt\4.5\bin
> and 
> c:\Qt\4.5\qt\bin 
> 

With the default install location of the 2009.03 SDK the directory that
your application Qt and MingW32 run-time libraries come from is:
C:\Qt\2009.03\qt\bin

All your plugins for deployment come from the subdirectories of
C:\Qt\2009.03\qt\plugins

All of the above were built with mingw32 and were the targets used
during linking of your application.


The files in:
C:\Qt\2009.03\bin
and its subdirectories are the files that QtCreator was built with and
are different to the ones above (built with VC++?).  Leave these alone.


To provide a concrete example, a simple Sqlite GUI application should
ship with:

app.exe
mingwm10.dll
QtCore4.dll
QtGui4.dll
QtSql4.dll
sqldrivers\qsqlite4.dll

and some iconengines and imageformats plugins as required

Substitute the MySQL plugin (and everything it depends on) and you
should be most of the way there for a MySql application.



-- 
Chris Williams

Life would be much easier if I had the source code.  Anon.

Public key available at hkp://wwwkeys.au.pgp.net
Key ID: 83A07766



More information about the Qt-interest-old mailing list