PDA

View Full Version : QT dynamic build "qwindows" identification problem



uzairsaeed702
15th December 2014, 13:28
Dear Folks,

First of all , I am using Qt5.2.1 with MSVC 2012 (32-bit) on Visual studio 2012 .

I have an strange problem , as my build is dynamic so while compiling/linking the project in VS i am providing a suitable libraries

10811

With suitable dll'S in the .exe folder with perfect platform (qwindows.dll) folder settings.

10808

Everything from the VS debugger is working perfectly fine but when i click the exe outside VS environment it gives me that normal platform error.

10809

So after reading alot of threads some one wrote that add "libEGLd.dll" to the exe folder. After copying the dll things are perfectly working in my development pc e.g. without visual studio debugger.

Now when i tested this application with complete dll's in another pc without Qt adn VS environment it gives me that "windows platform" error again. I later checked that some people are saying that it is VC++ Redidtributable problem but i uninstalled all the VC++ redistributable and then installed the two new one VC++ 2008 and 2012 . But the error is same , even in the dependency walker .

10810

I am actually new on QT so need your kind suggestion.

thanks

uzairsaeed702
16th December 2014, 08:24
Push Anyone ?

ChrisW67
16th December 2014, 20:07
From https://qt-project.org/doc/qt-5-snapshot/windows-deployment.html#creating-the-application-package


If you are using ANGLE (the default) then you additionally need to include both libEGL.dll and libGLESv2.dll from Qt's 'lib' directory as well as the HLSL compiler from DirectX. The HLSL compiler library is called d3dcompiler_XX.dll where XX is the version number that ANGLE (libGLESv2) was linked against.


BTW.Why are you deploying a debug version of your application?