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

Running OpenGL app with Qt 5.7 on Ubuntu 16.04: "Could not initialize GLX"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 5.7.0
    • None
    • Ubuntu 16.04. Graphics card is a nVidia GeForce 520M, bridged via Optimus with an Intel HD Graphics 5000 (though it's not active right now).

    Description

      This application is built with Qt 5.7, on Ubuntu 16.04. I've attached a UPX-compressed binary (needs QScintilla to run).

      When running this application, I get this error just before I use a QOpenGLWidget:

      `Could not initialize GLX`

      That's it. This problem does NOT occur when the application is built with Qt 5.5 or 5.6. With those versions, the program runs as expected.

      The application doesn't crash immediately after starting, because I do some printout that's unrelated to graphics before the window is visible.

      Attachments

        1. BALLS
          5.70 MB
          Jesse Talavera-Greenberg
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            sletta Gunnar Sletta
            JesseTG Jesse Talavera-Greenberg
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes