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

Resources from different Dlls overwrite each other

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 4.7.2
    • Core: Resource System
    • None

    Description

      Using Resources in DLLs will overwrite each other if these DLLs get loaded by a single Application. Any of the DLLs using Resources compiled into it, will get those Resources from whatever DLL was last loaded by the Application.

      To reproduce:

      • Create two or more Libraries each using different Resources. For example an Icon named icons/app.png.
      • An Application loads both these Libraries.

      Expected:

      • Each Library uses it's own resources. In case of the Icon above a Dialog from Lib1 should use the Icon of Lib1.

      Actual Behavior:

      • All Libraries use the Resources of the last loaded Libraries. In above example Dialogs of Lib1 would use the Icon of Lib2 instead of Lib1.

      This is bad enough with Icons, but gets critical real soon if its anything else.

      Attachments

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

        Activity

          People

            hjk hjk
            silent Silent
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes