Cant Run Application Created With QT5 And VS2013 In Windows XP
-
Greeting
I have application created with
QT5
andVisual Studio 2013
. I also useQT WebEngine
in my application.My application work fine in windows 7 (32 bit) . For some reason i need to run it in windows xp sp3 (32 bit).
When i run it, I get the following error:
The procedure entry point strnlen could not be located in the dynamic link library msvcrt.dll
I press
OK
several time and it goes away and myQMainWindow
will pop out, But its totally BLACK and i see the following errors in debugger.class QWindowsEGLStaticContext *__cdecl QWindowsEGLStaticContext::create(class QFlags<enum QWindowsOpenGLTester::Renderer>): Could not initialize EGL display: error 0x3001 class QWindowsEGLStaticContext *__cdecl QWindowsEGLStaticContext::create(class QFlags<enum QWindowsOpenGLTester::Renderer>): When using ANGLE, check if d3dcompiler_4x.dll is available
The
d3dcompiler_47.dll
is in application directory too.Whats wrong here ?
Thanks in Advanced
-
I asked this question in stackoverflow and there are some progress, Please check the following link and help me out if you can.
thanks alot
-
Qt's precompiled package is compiled with v120 toolset not v120_xp, so you have to compile qt by yourself and configure with "-target xp"
-
I build
QT
forWindows XP
with following configurationconfigure -release -opensource -opengl desktop -target xp -platform win32-msvc2013 -angle -icu -nomake examples -prefix C:\QT-Compile
I replaced
QT
dependency and ran my application, I got the following errors:The application has failed to start because icuin56.dll was not found The application has failed to start because icuuc56.dll was not found
I tried to find them in
QT
directory (C:\QT-Compile) and i couldn't but i had them on main machine that run inWindows Seven
, I placed them next to executable and application run successfully and previous errors are gone, However, TheQMainWindow
is stillBLACK
and i have the following errors in my debugger in run time.QOpenGLShaderProgram: could not create shader program QOpenGLShader: could not create shader bool __thiscall QOpenGLTextureBlitter::create(void) Could not link shader program:
Whats wrong now ?