Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QtWebEngine
  4. Cant Run Application Created With QT5 And VS2013 In Windows XP
Forum Updated to NodeBB v4.3 + New Features

Cant Run Application Created With QT5 And VS2013 In Windows XP

Scheduled Pinned Locked Moved Unsolved QtWebEngine
5 Posts 3 Posters 2.3k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Meysam Hashemi
    wrote on last edited by
    #1

    Greeting

    I have application created with QT5 and Visual Studio 2013. I also use QT 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 my QMainWindow 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

    1 Reply Last reply
    0
    • M Offline
      M Offline
      Meysam Hashemi
      wrote on last edited by
      #2

      I asked this question in stackoverflow and there are some progress, Please check the following link and help me out if you can.

      http://stackoverflow.com/questions/34436168/cant-run-application-created-with-qt5-and-vs2013-in-windows-xp

      thanks alot

      1 Reply Last reply
      0
      • F Offline
        F Offline
        flyingtree
        wrote on last edited by
        #3

        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"

        1 Reply Last reply
        0
        • M Offline
          M Offline
          Meysam Hashemi
          wrote on last edited by
          #4

          I build QT for Windows XP with following configuration

          configure -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 in Windows Seven, I placed them next to executable and application run successfully and previous errors are gone, However, The QMainWindow is still BLACK 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 ?

          1 Reply Last reply
          0
          • C Offline
            C Offline
            Cathy
            wrote on last edited by
            #5

            You can try it that turn the Hardware acceleration off In Windows XP

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved