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

Qt 5.15 doesn't have prebuilt version for VS2017

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • P2: Important
    • None
    • 5.15.0
    • Packaging & Installer
    • None
    • Windows

    Description

      VS 2017 and VS2019 are binary compatible which makes it possible to use Qt msvc_2017 with Visual Studio 2019. However, this doesn't work the other way around - applications compiled with VS 2017 and linked to Qt 5.15 (msvc_2019) silently crash at startup.
      This is documented by Microsoft and they clearly say that you have to use the newest visual studio version among the libraries you're using:
      You can mix binaries built by different versions of the toolset. However, you must use a toolset at least as recent as the most recent binary to link your app. Here's an example: you can link an app compiled using the 2017 toolset to a static library compiled using 2019, if they're linked using the 2019 toolset.

      https://docs.microsoft.com/en-us/cpp/porting/binary-compat-2015-2017?view=vs-2019

      Attachments

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

        Activity

          People

            releaseteam Qt Release Team
            arch Ivan Komissarov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes