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

Failed to find OpenGL version

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P1: Critical
    • None
    • 5.12.5
    • Qt3D
    • None
    • Linux/X11, macOS

    Description

      The runtime cannot find a suitable OpenGL version so the application crashes.

      It happens on both Ubuntu 16.04 and macOS 10.15.3

      The log message as follows

      qt3ds.internal_error: Can't find a suitable OpenGL version for QSurfaceFormat(version 3.0, options QFlags<QSurfaceFormat::FormatOption>(DeprecatedFunctions), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 0, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile QSurfaceFormat::NoProfile)

      There is a workaround can be written in the code which explicitly set the QSurfaceFormat version and profile to CoreProfile.

      But this won't work on the other environment.

      Any fixes for this?

      Attachments

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

        Activity

          People

            kileppal Kimmo Leppälä
            kwpark Kwanghyo Park
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes