Cant Run Application Created With QT5 And VS2013 In Windows XP
-
Greeting
I have application created with
QT5andVisual Studio 2013. I also useQT WebEnginein 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.dllI press
OKseveral time and it goes away and myQMainWindowwill 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 availableThe
d3dcompiler_47.dllis 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
QTforWindows XPwith following configurationconfigure -release -opensource -opengl desktop -target xp -platform win32-msvc2013 -angle -icu -nomake examples -prefix C:\QT-CompileI replaced
QTdependency 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 foundI tried to find them in
QTdirectory (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, TheQMainWindowis stillBLACKand 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 ?