Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-76221

Issues using OpenGL in UWP application

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • P3: Somewhat important
    • None
    • 5.13.0 RC 1
    • GUI: OpenGL
    • None
    • WinRT

    Description

      When running the camera example the preview stays empty and the winrtrunner prints out:

      
      15:16:13: winrtrunner --device 0 --start --stop --wait 0 --profile appx C:/dev/builds/tmp/default/build-camera-Qt_5_13_0_for_UWP_64bit_MSVC_2015-Debug/debug/camera.exe
      qt.winrtrunner: Using the Appx profile.
      qt.winrtrunner: Package already installed.
      qt.winrtrunner: App started with process ID 940
      qt.winrtrunner.app: This plugin does not support propagateSizeHints()
      qt.winrtrunner.app: A valid OpenGL context is required for binding the video texture.
      qt.winrtrunner.app: A valid OpenGL context is required for binding the video texture.
      qt.winrtrunner.app: A valid OpenGL context is required for binding the video texture.
      qt.winrtrunner.app: A valid OpenGL context is required for binding the video texture.
      qt.winrtrunner.app: A valid OpenGL context is required for binding the video texture.
      qt.winrtrunner.app: A valid OpenGL context is required for binding the video texture.
      qt.winrtrunner.app: A valid OpenGL context is required for binding the video texture.
      
      (...)
      
      

       

      And running the Hello Gl2 example just shows an empty window and winrtunner prints out:

      
      qt.winrtrunner: Using the Appx profile.
      qt.winrtrunner: Package already installed.
      qt.winrtrunner: App started with process ID 3596
      qt.winrtrunner.app: This plugin does not support propagateSizeHints()
      qt.winrtrunner.app: QEGLPlatformContext: Failed to create context: 3006
      qt.winrtrunner.app: QOpenGLWidget: Failed to create context
      qt.winrtrunner.app: QEGLPlatformContext: Failed to create context: 3006
      qt.winrtrunner.app: QOpenGLWidget: Failed to create context
      qt.winrtrunner.app: QEGLPlatformContext: Failed to create context: 3006
      qt.winrtrunner.app: QOpenGLWidget: Failed to create context
      qt.winrtrunner.app: QEGLPlatformContext: Failed to create context: 3006
      qt.winrtrunner.app: composeAndFlush: QOpenGLContext creation failed
      qt.winrtrunner.app: composeAndFlush: makeCurrent() failed
      qt.winrtrunner.app: composeAndFlush: makeCurrent() failed
      qt.winrtrunner.app: composeAndFlush: makeCurrent() failed
      
      (...)
      
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            owolff Oliver Wolff
            davschul David Schulz
            Veli-Pekka Heinonen Veli-Pekka Heinonen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes