Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to integrate QT with OpenGl
Forum Updated to NodeBB v4.3 + New Features

How to integrate QT with OpenGl

Scheduled Pinned Locked Moved Unsolved General and Desktop
13 Posts 2 Posters 1.8k 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
    ManiRon
    wrote on 24 Nov 2020, 11:50 last edited by
    #1

    Hi I have been trying to create my first QtQuick Application QML and while trying to run the application i am not able to run and it throws an error saying that

    static QWindowsEGLStaticContext* QWindowsEGLStaticContext::create(QWindowsOpenGLTester::Renderers): Could not initialize EGL display: error 0x3001

    static QWindowsEGLStaticContext* QWindowsEGLStaticContext::create(QWindowsOpenGLTester::Renderers): When using ANGLE, check if d3dcompiler_4x.dll is available
    Failed to load opengl32sw.dll (The specified module could not be found.)
    static QOpenGLStaticContext* QOpenGLStaticContext::create(bool): Failed to load and resolve WGL/OpenGL functions
    static QWindowsEGLStaticContext* QWindowsEGLStaticContext::create(QWindowsOpenGLTester::Renderers): Could not initialize EGL display: error 0x3001

    static QWindowsEGLStaticContext* QWindowsEGLStaticContext::create(QWindowsOpenGLTester::Renderers): When using ANGLE, check if d3dcompiler_4x.dll is available
    Failed to load opengl32sw.dll (The specified module could not be found.)
    static QOpenGLStaticContext* QOpenGLStaticContext::create(bool): Failed to load and resolve WGL/OpenGL functions
    static QWindowsEGLStaticContext* QWindowsEGLStaticContext::create(QWindowsOpenGLTester::Renderers): Could not initialize EGL display: error 0x3001

    static QWindowsEGLStaticContext* QWindowsEGLStaticContext::create(QWindowsOpenGLTester::Renderers): When using ANGLE, check if d3dcompiler_4x.dll is available
    Failed to load opengl32sw.dll (The specified module could not be found.)
    static QOpenGLStaticContext* QOpenGLStaticContext::create(bool): Failed to load and resolve WGL/OpenGL functions
    static QWindowsEGLStaticContext* QWindowsEGLStaticContext::create(QWindowsOpenGLTester::Renderers): Could not initialize EGL display: error 0x3001

    static QWindowsEGLStaticContext* QWindowsEGLStaticContext::create(QWindowsOpenGLTester::Renderers): When using ANGLE, check if d3dcompiler_4x.dll is available
    Failed to load opengl32sw.dll (The specified module could not be found.)
    static QOpenGLStaticContext* QOpenGLStaticContext::create(bool): Failed to load and resolve WGL/OpenGL functions
    Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior 2, swapInterval 1, profile 0) .
    This is most likely caused by not having the necessary graphics drivers installed.

    Install a driver providing OpenGL 2.0 or higher, or, if this is not possible, make sure the ANGLE Open GL ES 2.0 emulation libraries (libEGL.dll, libGLESv2.dll and d3dcompiler_*.dll) are available in the application executable's directory or in a location listed in PATH.
    Invalid parameter passed to C runtime function.
    Invalid parameter passed to C runtime function.
    Error - RtlWerpReportException failed with status code :-1073741823. Will try to launch the process directly
    Error - Failed to create the process C:\Windows\SysWOW64\WerFault.exe
    Error - StartCrashVertial failed

    what should i do for this ?
    I was using QT5.5

    J 1 Reply Last reply 24 Nov 2020, 12:02
    0
    • M ManiRon
      24 Nov 2020, 11:50

      Hi I have been trying to create my first QtQuick Application QML and while trying to run the application i am not able to run and it throws an error saying that

      static QWindowsEGLStaticContext* QWindowsEGLStaticContext::create(QWindowsOpenGLTester::Renderers): Could not initialize EGL display: error 0x3001

      static QWindowsEGLStaticContext* QWindowsEGLStaticContext::create(QWindowsOpenGLTester::Renderers): When using ANGLE, check if d3dcompiler_4x.dll is available
      Failed to load opengl32sw.dll (The specified module could not be found.)
      static QOpenGLStaticContext* QOpenGLStaticContext::create(bool): Failed to load and resolve WGL/OpenGL functions
      static QWindowsEGLStaticContext* QWindowsEGLStaticContext::create(QWindowsOpenGLTester::Renderers): Could not initialize EGL display: error 0x3001

      static QWindowsEGLStaticContext* QWindowsEGLStaticContext::create(QWindowsOpenGLTester::Renderers): When using ANGLE, check if d3dcompiler_4x.dll is available
      Failed to load opengl32sw.dll (The specified module could not be found.)
      static QOpenGLStaticContext* QOpenGLStaticContext::create(bool): Failed to load and resolve WGL/OpenGL functions
      static QWindowsEGLStaticContext* QWindowsEGLStaticContext::create(QWindowsOpenGLTester::Renderers): Could not initialize EGL display: error 0x3001

      static QWindowsEGLStaticContext* QWindowsEGLStaticContext::create(QWindowsOpenGLTester::Renderers): When using ANGLE, check if d3dcompiler_4x.dll is available
      Failed to load opengl32sw.dll (The specified module could not be found.)
      static QOpenGLStaticContext* QOpenGLStaticContext::create(bool): Failed to load and resolve WGL/OpenGL functions
      static QWindowsEGLStaticContext* QWindowsEGLStaticContext::create(QWindowsOpenGLTester::Renderers): Could not initialize EGL display: error 0x3001

      static QWindowsEGLStaticContext* QWindowsEGLStaticContext::create(QWindowsOpenGLTester::Renderers): When using ANGLE, check if d3dcompiler_4x.dll is available
      Failed to load opengl32sw.dll (The specified module could not be found.)
      static QOpenGLStaticContext* QOpenGLStaticContext::create(bool): Failed to load and resolve WGL/OpenGL functions
      Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior 2, swapInterval 1, profile 0) .
      This is most likely caused by not having the necessary graphics drivers installed.

      Install a driver providing OpenGL 2.0 or higher, or, if this is not possible, make sure the ANGLE Open GL ES 2.0 emulation libraries (libEGL.dll, libGLESv2.dll and d3dcompiler_*.dll) are available in the application executable's directory or in a location listed in PATH.
      Invalid parameter passed to C runtime function.
      Invalid parameter passed to C runtime function.
      Error - RtlWerpReportException failed with status code :-1073741823. Will try to launch the process directly
      Error - Failed to create the process C:\Windows\SysWOW64\WerFault.exe
      Error - StartCrashVertial failed

      what should i do for this ?
      I was using QT5.5

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 24 Nov 2020, 12:02 last edited by
      #2

      @ManiRon said in How to integrate QT with OpenGl:

      I was using QT5.5

      Any reason to use such an old version?

      What OS?
      Did you try to update graphics driver?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      M 2 Replies Last reply 26 Nov 2020, 05:59
      0
      • J jsulm
        24 Nov 2020, 12:02

        @ManiRon said in How to integrate QT with OpenGl:

        I was using QT5.5

        Any reason to use such an old version?

        What OS?
        Did you try to update graphics driver?

        M Offline
        M Offline
        ManiRon
        wrote on 26 Nov 2020, 05:59 last edited by
        #3

        @jsulm My laptop is old and i donno whether it supports new version of QT, Now i solved the issue by installing openGL in my laptop, but i am facing an issue while opening the designer form of QML , The Qt creator crashes , I am using QT5.5

        J 1 Reply Last reply 26 Nov 2020, 06:00
        0
        • J jsulm
          24 Nov 2020, 12:02

          @ManiRon said in How to integrate QT with OpenGl:

          I was using QT5.5

          Any reason to use such an old version?

          What OS?
          Did you try to update graphics driver?

          M Offline
          M Offline
          ManiRon
          wrote on 26 Nov 2020, 05:59 last edited by
          #4

          @jsulm OS windows 7
          Intel pentium processor

          1 Reply Last reply
          0
          • M ManiRon
            26 Nov 2020, 05:59

            @jsulm My laptop is old and i donno whether it supports new version of QT, Now i solved the issue by installing openGL in my laptop, but i am facing an issue while opening the designer form of QML , The Qt creator crashes , I am using QT5.5

            J Offline
            J Offline
            jsulm
            Lifetime Qt Champion
            wrote on 26 Nov 2020, 06:00 last edited by
            #5

            @ManiRon said in How to integrate QT with OpenGl:

            My laptop is old and i donno whether it supports new version of QT

            You could simply try as you can install as many Qt versions as you like.

            https://forum.qt.io/topic/113070/qt-code-of-conduct

            M 1 Reply Last reply 26 Nov 2020, 06:01
            0
            • J jsulm
              26 Nov 2020, 06:00

              @ManiRon said in How to integrate QT with OpenGl:

              My laptop is old and i donno whether it supports new version of QT

              You could simply try as you can install as many Qt versions as you like.

              M Offline
              M Offline
              ManiRon
              wrote on 26 Nov 2020, 06:01 last edited by ManiRon
              #6

              @jsulm which version i could try out with ? i donno which one to install

              J 1 Reply Last reply 26 Nov 2020, 06:04
              0
              • M ManiRon
                26 Nov 2020, 06:01

                @jsulm which version i could try out with ? i donno which one to install

                J Offline
                J Offline
                jsulm
                Lifetime Qt Champion
                wrote on 26 Nov 2020, 06:04 last edited by
                #7

                @ManiRon Well, the latest stable (5.15.2)?

                https://forum.qt.io/topic/113070/qt-code-of-conduct

                M 1 Reply Last reply 26 Nov 2020, 06:06
                0
                • J jsulm
                  26 Nov 2020, 06:04

                  @ManiRon Well, the latest stable (5.15.2)?

                  M Offline
                  M Offline
                  ManiRon
                  wrote on 26 Nov 2020, 06:06 last edited by
                  #8

                  @jsulm can you provide me the download link for that

                  J 1 Reply Last reply 26 Nov 2020, 06:08
                  0
                  • M ManiRon
                    26 Nov 2020, 06:06

                    @jsulm can you provide me the download link for that

                    J Offline
                    J Offline
                    jsulm
                    Lifetime Qt Champion
                    wrote on 26 Nov 2020, 06:08 last edited by
                    #9

                    @ManiRon It's not hard to find it.
                    https://www.qt.io/developers

                    https://forum.qt.io/topic/113070/qt-code-of-conduct

                    M 1 Reply Last reply 26 Nov 2020, 06:12
                    0
                    • J jsulm
                      26 Nov 2020, 06:08

                      @ManiRon It's not hard to find it.
                      https://www.qt.io/developers

                      M Offline
                      M Offline
                      ManiRon
                      wrote on 26 Nov 2020, 06:12 last edited by
                      #10

                      @jsulm if suppose my laptop doesnt have any graphic card in it then whether the QML designer form will work ?

                      J 1 Reply Last reply 26 Nov 2020, 06:15
                      0
                      • M ManiRon
                        26 Nov 2020, 06:12

                        @jsulm if suppose my laptop doesnt have any graphic card in it then whether the QML designer form will work ?

                        J Offline
                        J Offline
                        jsulm
                        Lifetime Qt Champion
                        wrote on 26 Nov 2020, 06:15 last edited by
                        #11

                        @ManiRon Do you mean you have integrated graphics unit (in the CPU)?
                        It doesn't matter as long as you have working OpenGL graphics driver, so try to update them if you have issues.

                        https://forum.qt.io/topic/113070/qt-code-of-conduct

                        M 1 Reply Last reply 26 Nov 2020, 06:17
                        0
                        • J jsulm
                          26 Nov 2020, 06:15

                          @ManiRon Do you mean you have integrated graphics unit (in the CPU)?
                          It doesn't matter as long as you have working OpenGL graphics driver, so try to update them if you have issues.

                          M Offline
                          M Offline
                          ManiRon
                          wrote on 26 Nov 2020, 06:17 last edited by
                          #12

                          @jsulm is there a way to find that i have installed the correct openGL

                          J 1 Reply Last reply 26 Nov 2020, 06:18
                          0
                          • M ManiRon
                            26 Nov 2020, 06:17

                            @jsulm is there a way to find that i have installed the correct openGL

                            J Offline
                            J Offline
                            jsulm
                            Lifetime Qt Champion
                            wrote on 26 Nov 2020, 06:18 last edited by
                            #13

                            @ManiRon Check whether there is a newer version of the graphics driver for your laptop/graphics card (integrated graphics).

                            https://forum.qt.io/topic/113070/qt-code-of-conduct

                            1 Reply Last reply
                            0

                            1/13

                            24 Nov 2020, 11:50

                            • Login

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