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

[PATCH] Qt does not support building against msvcrt.dll (Microsoft's Windows Driver Kit C Runtime)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P5: Not important
    • None
    • 4.7.3
    • Other
    • None

    Description

      When using MSVC and deploying Qt-based applications on Windows there's traditionally been a dependency on Visual Studio's C runtime (msvcrXX.dll), and this increases the footprint and complexity of the deployment by having to bundle this. However, shipped versions of Windows also come with a platform C runtime (msvcrt.dll), which Microsoft's own applications often depend on. This luxury is luckily not reserved to Microsoft, as they do actually include the needed pieces in their Windows Driver Kit. Attached patch tweaks Qt so it can be built against this C runtime and will thus run on any shipped version of Windows since XP.

      This is undoubtedly a very narrow use-case, but just thought I'd file this bug here so my (very rough) patch can be found by others with similar needs.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            oleavr Ole André Vadla Ravnås
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes