Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt 5.13.0 Basic shapes C++ example fails
Forum Updated to NodeBB v4.3 + New Features

Qt 5.13.0 Basic shapes C++ example fails

Scheduled Pinned Locked Moved Solved Installation and Deployment
5 Posts 3 Posters 1.1k 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.
  • G Offline
    G Offline
    gibbogle
    wrote on last edited by
    #1

    I installed Qt 5.13.0 on Windows 7 with qt-opensource-windows-x86-5.13.0.exe, and I've been building the Qt3d example basicshapes-cpp. I have tried the three MSVC compiler options available:
    MSVC2015 64bit
    MSVC2017 32bit
    MSVC2017 64bit

    The build is successful in each case, but executing the program produces a great number of errors:

    egl::Display::initialize(482): ANGLE Display::initialize error 12289: No available renderers.
    egl::Display::initialize(482): ANGLE Display::initialize error 12289: No available renderers.
    egl::Display::initialize(482): ANGLE Display::initialize error 12289: No available renderers.
    QWindowsEGLStaticContext::create: Could not initialize EGL display: error 0x3001
    QWindowsEGLStaticContext::create: When using ANGLE, check if d3dcompiler_4x.dll is available
    Attempted to use GDI functions with a non-opengl32.dll library
    QWindowsGLContext::QWindowsGLContext: Unable find a suitable pixel format.
    Qt3D.Renderer.Backend: void __cdecl Qt3DRender::Render::Renderer::initialize(void) OpenGL context creation failed
    Attempted to use GDI functions with a non-opengl32.dll library
    QWindowsGLContext::QWindowsGLContext: Unable find a suitable pixel format.
    Attempted to use GDI functions with a non-opengl32.dll library
    QWindowsGLContext::QWindowsGLContext: Unable find a suitable pixel format.
    CommandThread: Failed to create local context
    Qt3D.Renderer.Backend: bool __cdecl Qt3DRender::Render::GraphicsContext::makeCurrent(class QSurface *) makeCurrent failed
    Qt3D.Renderer.Backend: bool __cdecl Qt3DRender::Render::GraphicsContext::makeCurrent(class QSurface *) makeCurrent failed
    Qt3D.Renderer.Backend: bool __cdecl Qt3DRender::Render::GraphicsContext::makeCurrent(class QSurface *) makeCurrent failed
    ...

    I'm guessing that this is related to a popup when Qt Creator starts up, with the title "Plugin Loader Messages".
    "The following plugins have errors and cannot be loaded:
    QmlDesigner
    QmlProfiler

    Details:
    Plugin initialization failed: Cannot create OpenGL context."

    G 1 Reply Last reply
    0
    • G gibbogle

      I installed Qt 5.13.0 on Windows 7 with qt-opensource-windows-x86-5.13.0.exe, and I've been building the Qt3d example basicshapes-cpp. I have tried the three MSVC compiler options available:
      MSVC2015 64bit
      MSVC2017 32bit
      MSVC2017 64bit

      The build is successful in each case, but executing the program produces a great number of errors:

      egl::Display::initialize(482): ANGLE Display::initialize error 12289: No available renderers.
      egl::Display::initialize(482): ANGLE Display::initialize error 12289: No available renderers.
      egl::Display::initialize(482): ANGLE Display::initialize error 12289: No available renderers.
      QWindowsEGLStaticContext::create: Could not initialize EGL display: error 0x3001
      QWindowsEGLStaticContext::create: When using ANGLE, check if d3dcompiler_4x.dll is available
      Attempted to use GDI functions with a non-opengl32.dll library
      QWindowsGLContext::QWindowsGLContext: Unable find a suitable pixel format.
      Qt3D.Renderer.Backend: void __cdecl Qt3DRender::Render::Renderer::initialize(void) OpenGL context creation failed
      Attempted to use GDI functions with a non-opengl32.dll library
      QWindowsGLContext::QWindowsGLContext: Unable find a suitable pixel format.
      Attempted to use GDI functions with a non-opengl32.dll library
      QWindowsGLContext::QWindowsGLContext: Unable find a suitable pixel format.
      CommandThread: Failed to create local context
      Qt3D.Renderer.Backend: bool __cdecl Qt3DRender::Render::GraphicsContext::makeCurrent(class QSurface *) makeCurrent failed
      Qt3D.Renderer.Backend: bool __cdecl Qt3DRender::Render::GraphicsContext::makeCurrent(class QSurface *) makeCurrent failed
      Qt3D.Renderer.Backend: bool __cdecl Qt3DRender::Render::GraphicsContext::makeCurrent(class QSurface *) makeCurrent failed
      ...

      I'm guessing that this is related to a popup when Qt Creator starts up, with the title "Plugin Loader Messages".
      "The following plugins have errors and cannot be loaded:
      QmlDesigner
      QmlProfiler

      Details:
      Plugin initialization failed: Cannot create OpenGL context."

      G Offline
      G Offline
      gibbogle
      wrote on last edited by
      #2

      Fixed by reinstalling the display adapter driver.

      Christian EhrlicherC 1 Reply Last reply
      0
      • G gibbogle

        Fixed by reinstalling the display adapter driver.

        Christian EhrlicherC Offline
        Christian EhrlicherC Offline
        Christian Ehrlicher
        Lifetime Qt Champion
        wrote on last edited by
        #3

        @gibbogle Then please mark this thread as solved, thx.

        Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
        Visit the Qt Academy at https://academy.qt.io/catalog

        1 Reply Last reply
        0
        • G Offline
          G Offline
          gibbogle
          wrote on last edited by
          #4

          Sorry, Christian, I don't know how to do that.

          jsulmJ 1 Reply Last reply
          0
          • G gibbogle

            Sorry, Christian, I don't know how to do that.

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

            @gibbogle Click on "Topic Tools" at the bottom and then "Mark as solved".

            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