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

Windows: QLibrary attempting to load foo.dll.dll occasionally

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4: Low
    • Resolution: Done
    • Affects Version/s: 5.3.2
    • Fix Version/s: 5.5.1
    • Component/s: Core: Plugins
    • Labels:
      None
    • Environment:
      Windows
    • Commits:
      e2d3436e4dfdf461a0864aca722ef9cc97d3564b (qtbase/5.5, 26.6.2015, 5.5.1)

      Description

      QLibrary::resolve documentation states following:

      "Loads the library fileName and returns the address of the exported symbol symbol. Note that fileName should not include the platform-specific file suffix"

      In src/plugins/bearer/nativewifi/main.cpp wlanapi.dll is passed with suffix. This causes the process trying to first load wlanapi.dll.dll.

      I think this could be fixed there (in wlanapi.dll) or even better make change in QLibrary and update it's documentation related. See my patch attached.

        Attachments

        For Gerrit Dashboard: QTBUG-46710
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            kleint Friedemann Kleint
            Reporter:
            JaniT Jani Tykkä
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes