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

winrt: Wiggly example crashes.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.6.0 Beta
    • 5.6
    • GUI: OpenGL
    • Windows 8.1 x64
      MSVC 2013
      Nokia Lumia 1520 (WinPhone 8.1)
    • WinRT
    • a8455ac

    Description

      Steps:
      1. Find & Run wiggly from creator welcome tab tutorials.
      Expected: Wiggly runs on Windows Phone
      Actual: Crash occurs.

      Crash happens because there is no suitable EGL config thus not possible to create surface to draw.

      Make it not to crash
      src/3rdparty/angle/src/libANGLE/renderer/d3d/d3d11/Renderer11.cpp

      -   config.renderableType = EGL_OPENGL_ES2_BIT | ((mFeatureLevel >= D3D_FEATURE_LEVEL_10_0) ? EGL_OPENGL_ES3_BIT_KHR : 0);
      +   config.renderableType = EGL_OPENGL_ES2_BIT | ((mFeatureLevel >= D3D_FEATURE_LEVEL_9_3) ? EGL_OPENGL_ES3_BIT_KHR : 0);
      

      src/plugins/platforms/winrt/qwinrtbackingstore.cpp

      -    QSurfaceFormat format = window()->requestedFormat();
      +    window()->create();
      +    QSurfaceFormat format = window()->format();
      

      Attachments

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

        Activity

          People

            samuelnevala Samuel Nevala
            samuelnevala Samuel Nevala
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes