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

Cache behaviour of QLibrary

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P2: Important
    • 4.7.0
    • 4.4.0
    • Core: Plugins
    • None

    Description

      If a library tries to load a plugin, but the load fails (in load_sys()) because of missing dependencies, the cache entry is done in any case. When solving the missing dependencies, the plugin isn't tested again, because of the cache entry. So, in case of an error, no cache entry should be made in the registry.

      As a practical example:

      • An incorrect setup is delivered to the customer with one DLL missing on which a plugin depends.
      • The application fails to load the plugin, and a registry cache entry is done.
      • A corrected setup is sent to the customer, which conatains the missing DLL.
      • The application is still not working, because of the cache entry...

      Anyway, for the Debug version of the library, no caching should be done.

      Attachments

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

        Activity

          People

            smd Jan Arve
            sanonymous Nokia Qt Support (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes