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 2.0k 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.
  • ManiRonM ManiRon

    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

    jsulmJ Offline
    jsulmJ Offline
    jsulm
    Lifetime Qt Champion
    wrote on 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

    ManiRonM 2 Replies Last reply
    0
    • jsulmJ jsulm

      @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?

      ManiRonM Offline
      ManiRonM Offline
      ManiRon
      wrote on 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

      jsulmJ 1 Reply Last reply
      0
      • jsulmJ jsulm

        @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?

        ManiRonM Offline
        ManiRonM Offline
        ManiRon
        wrote on last edited by
        #4

        @jsulm OS windows 7
        Intel pentium processor

        1 Reply Last reply
        0
        • ManiRonM ManiRon

          @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

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on 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

          ManiRonM 1 Reply Last reply
          0
          • jsulmJ jsulm

            @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.

            ManiRonM Offline
            ManiRonM Offline
            ManiRon
            wrote on last edited by ManiRon
            #6

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

            jsulmJ 1 Reply Last reply
            0
            • ManiRonM ManiRon

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

              jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote on last edited by
              #7

              @ManiRon Well, the latest stable (5.15.2)?

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

              ManiRonM 1 Reply Last reply
              0
              • jsulmJ jsulm

                @ManiRon Well, the latest stable (5.15.2)?

                ManiRonM Offline
                ManiRonM Offline
                ManiRon
                wrote on last edited by
                #8

                @jsulm can you provide me the download link for that

                jsulmJ 1 Reply Last reply
                0
                • ManiRonM ManiRon

                  @jsulm can you provide me the download link for that

                  jsulmJ Offline
                  jsulmJ Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote on 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

                  ManiRonM 1 Reply Last reply
                  0
                  • jsulmJ jsulm

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

                    ManiRonM Offline
                    ManiRonM Offline
                    ManiRon
                    wrote on last edited by
                    #10

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

                    jsulmJ 1 Reply Last reply
                    0
                    • ManiRonM ManiRon

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

                      jsulmJ Offline
                      jsulmJ Offline
                      jsulm
                      Lifetime Qt Champion
                      wrote on 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

                      ManiRonM 1 Reply Last reply
                      0
                      • jsulmJ jsulm

                        @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.

                        ManiRonM Offline
                        ManiRonM Offline
                        ManiRon
                        wrote on last edited by
                        #12

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

                        jsulmJ 1 Reply Last reply
                        0
                        • ManiRonM ManiRon

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

                          jsulmJ Offline
                          jsulmJ Offline
                          jsulm
                          Lifetime Qt Champion
                          wrote on 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

                          • Login

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