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

Add an setUnloadOnDestroy() function to QLibrary

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • None
    • Core: Plugins
    • Windows 10

    Description

      Since QLibrary does not automatically unload the library (i.e. by calling unload()) when the QLibrary is destroyed then it is possible that this is forgotten and therefore the library is still loaded in memory. By adding a setUnloadOnDestroy() function it would mean that it could automatically get unload() called when it is destroyed.

      In Qt 6 this could be change to default to be on automatically if so desired.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            andysh Andy Shaw
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes