Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-8727

Run Configuration automatically sets LD_LIBRARY_PATH=/usr/lib, breaking OpenGL application

    XMLWordPrintable

Details

    Description

      If i run a QML application the main window is simply blank. When running it from console or starting it in other ways it displays and works fine.

      When starting the application (and setting LIBGL_DEBUG=verbose) I get this output inside qtcreator:

      libGL: screen 0 does not appear to be DRI2 capable
      libGL: OpenDriver: trying /usr/lib/dri/swrast_dri.so
      libGL error: failed to load driver: swrast

      However this issue only happens with the proprietary nvidia drivers. If I use the Opensource ones it works fine.

      The project i hit this issue with is this: https://github.com/mana/manamobile/

      If i simply create a new application from the qt creator templates this application starts up fine and displays the Hello World.

      Attachments

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

        Activity

          People

            dt Daniel Teske
            ablu Erik Schilling
            Votes:
            6 Vote for this issue
            Watchers:
            11 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes