[Qt-creator] DLL entry point not found.
Daniel Molkentin
daniel.molkentin at nokia.com
Tue Oct 13 09:54:58 CEST 2009
ext Wm. G. Urquhart schrieb:
> The application was built under Windows Vista x64 and works as expected
> within the Qt environment. In order to deploy the application I examined
> the .exe using dependency walker and included the appropriate .dll files.
>
> From the NSIS Script File:
>
> File c:\qt\sdk\bin\qtcore4.dll
> File c:\qt\sdk\bin\qtgui4.dll
> File c:\qt\sdk\bin\qtnetwork4.dll
> File c:\qt\sdk\bin\mingwm10.dll
_there_ is your problem. _never_ package the Qt libs from \bin. They are
private to Qt Creator (They come from a Qt built with Visual Studio),
wheras the ones in qt\bin are build with MinGW (don't be confused by the
mingwm10.dll runtime in \bin, it's there for convinience only).
> The installer builds and runs correctly, but when I execute the
> application I get an exception:
>
> QtCore4.dll!?insert@?$QVector at VQPointF@@@@QAEXHABVQPointF@@@Z could not
> be located in the DLL.
Because you try to run a MinGW-built Application against a MSVC-built Qt.
Cheers,
Daniel
--
Daniel Molkentin, Software Engineer,
Nokia, Qt Development Frameworks
Rudower Chaussee 13, DE-12489 Berlin
website: http://qt.nokia.com
More information about the Qt-creator-old
mailing list