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

Disabling the plugins (welcome, qmlprofiler, qmldesigner) doesn't remove all OpenGL dependencies

XMLWordPrintable

      If you launch Qt Creator via strace with:
      strace -o log.txt ./qtcreator -noload Welcome -noload QmlDesigner -noload QmlProfiler

      the log still shows that libGL.so.1 is getting called:

      open("/home/user/qt_binaries/qt_5.5.1/Tools/QtCreator/bin/../lib/qtcreator/libGL.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
      open("/home/user/qt_binaries/qt_5.5.1/Tools/QtCreator/bin/../lib/qtcreator/plugins/tls/x86_64/libGL.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
      stat("/home/user/qt_binaries/qt_5.5.1/Tools/QtCreator/bin/../lib/qtcreator/plugins/tls/x86_64", 0x7ffcfe2dcc90) = -1 ENOENT (No such file or directory)
      open("/home/user/qt_binaries/qt_5.5.1/Tools/QtCreator/bin/../lib/qtcreator/plugins/tls/libGL.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
      stat("/home/user/qt_binaries/qt_5.5.1/Tools/QtCreator/bin/../lib/qtcreator/plugins/tls", 0x7ffcfe2dcc90) = -1 ENOENT (No such file or directory)
      open("/home/user/qt_binaries/qt_5.5.1/Tools/QtCreator/bin/../lib/qtcreator/plugins/x86_64/libGL.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
      stat("/home/user/qt_binaries/qt_5.5.1/Tools/QtCreator/bin/../lib/qtcreator/plugins/x86_64", 0x7ffcfe2dcc90) = -1 ENOENT (No such file or directory)
      open("/home/user/qt_binaries/qt_5.5.1/Tools/QtCreator/bin/../lib/qtcreator/plugins/libGL.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
      stat("/home/user/qt_binaries/qt_5.5.1/Tools/QtCreator/bin/../lib/qtcreator/plugins", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
      

      Since it's possible to disable OpenGL related plugins, it would be nice to be able to get rid of all the OpenGL dependencies if Qt Creator needs to run e.g on a virtual machine without OpenGL support.

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

            con Eike Ziller
            mipohjan Milla Pohjanheimo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes