Cant Run Application Created With QT5 And VS2013 In Windows XP
I have application created with
Visual Studio 2013. I also use
QT 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.dll
OKseveral time and it goes away and my
QMainWindowwill 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
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.
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"
Windows XPwith following configuration
configure -release -opensource -opengl desktop -target xp -platform win32-msvc2013 -angle -icu -nomake examples -prefix C:\QT-Compile
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 found
I tried to find them in
QTdirectory (C:\QT-Compile) and i couldn't but i had them on main machine that run in
Windows Seven, I placed them next to executable and application run successfully and previous errors are gone, However, The
BLACKand 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 ?
You can try it that turn the Hardware acceleration off In Windows XP