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

QUiLoader: there is no normal way to prevent QUiLoader from loading 3rdParty plugins

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 5.15.7, 6.4.2
    • Tools: Designer
    • None
    • All, Linux/X11

    Description

      On creation of QUiLoader object it automatically loads all designer plugins listed in QApplication::libraryPaths(). And there is no way to prevent it from doing so besides altering global property QApplication::libraryPaths itself (which is a quite ugly workaround). Subsequent calls to QUiLoader::clearPluginPaths() won't unload the plugin and its dependencies either.

      The more prominent issues arise when a plugin or its dependencies produces some undesireble behaviour upon load. This was a reason for a FreeCAD bug[1].

      ------

      Could you please add a normal way to create a QUiLoader object without loading any external plugins besides mending with, i.e add a second constructor with a list of pluginPaths.

      ------

      [1]: https://github.com/FreeCAD/FreeCAD/issues/8708

      Attachments

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

        Activity

          People

            kleint Friedemann Kleint
            fat-zer Alexander Golubev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes