[Qt-interest] Deploy an application on Windows

Gian Marco Gallo gianmarco.gallo at gmail.com
Thu Oct 15 17:22:46 CEST 2009


I've done this:
a) in QtCreator I've set the build configuration to "Release"
b) I've so pressed the build button and QtCreator starts working. The result
is an exe file with 24 warnings related to Vector class (standard c++) I've
used in my application
c) I've looked in the release folder and I've found the exe file, the moc
files and the o files.
d) I've added the mingwm10.dll, the QtCore4.dll, QtCored4.dll, QtGui4.dll,
QtGuid4.dll and QtSqld4.dll. Those files are all taken from
Qt/2009.03/Qt/bin folder.
e) I've tried to launch the file but I have the error reported in the first
mail.



2009/10/15 Alessandro Portale <alessandro.portale at trolltech.com>

> Gian Marco Gallo wrote:
> > If I launch the release version it doesn't start
> > reporting the error: "Unable to find the entry point
> > ?insert@?$QVector at VQPointF@@@QAEXHABVQPointF@@@Z of the procedure in the
> > library of dynamic linking QtCore4.dll"
>
> It seems to find some QtCore4.dll in the PATH, but apparently of an older
> Qt version that has not that symbol.
>
> > I've so tried to understand how to deploy a stand alone application on
> > Windows and I've found this:
> > http://doc.trolltech.com/4.5/deployment-windows.html
> > But I'm not able to follow the guide because for example I don't have
> > nmake file.
> > Any help?
>
> Did you ship the right QtCore4.dll next to your application .exe? And did
> you ship the required plugin .dlls under sqldrivers\ and imageformats\ next
> to your application?
>
> These are the most common cases where deployment of Qt based apps fails.
>
> Alessandro
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>



-- 
Gian Marco Gallo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091015/d96f8d4a/attachment.html 


More information about the Qt-interest-old mailing list