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

strnlen missing warning on XP after upgrading to qt5.4 (angle)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P4: Low
    • None
    • 5.4.0
    • GUI: OpenGL
    • None
    • Windows XP

    Description

      My application start display warnings at startup: "The procedure entry point strnlen could not be located in the dynamic link library msvcrt.dll" after I have upgraded Qt from 5.3 to 5.4

      Using dependancy walker I've found, that this dependancy comes from d3dcompiler_47.dll, the previous version d3dcompiler_46.dll is not dependant on strnlen function.
      The msvcrt.dll which comes with windows XP doesn't export strnlen function. But the windows7-version of msvcrt.dll comes with that function.

      How can I fix this issue with missing strnlen function? We have about 10% of our users on windows XP (about 500k).

      Upd: If I ship my application with qt 5.4 and d3dcompiler_46.dll - it still warns that msvcrt.dll doesn't export _except_handler4_common function (see msvcrt_dep2.png).

      Upd2: The same problem with d3dcompiler_45.dll. The application works fine with qt5.4 only with d3dcompiler_43.dll.

      Upd3: D3dcompiler_43.dll allows to start application without warnings, but there are some bugs arises with html rendering (during first start).

      Attachments

        1. msvcrt_dep.png
          msvcrt_dep.png
          6 kB
        2. msvcrt_dep2.png
          msvcrt_dep2.png
          7 kB
        For Gerrit Dashboard: QTBUG-44985
        # Subject Branch Project Status CR V

        Activity

          People

            lagocs Laszlo Agocs
            ricko Andrey Bocharnikov
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes