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

Qt6 CMake MSVC setup links against debug version in non-debug configurations

    XMLWordPrintable

    Details

    • Platform/s:
      Windows
    • Commits:
      b0add5bf2f56c2afc8bdf27ccbb153414617250b (qt/qtbase/dev) 170a8693d3b77587792c99605413666ad9b3ce74 (qt/qtbase/6.0)

      Description

      looks like when creating a VS2019 custom project solution via CMake the configuration/generation process pulls in the debug version of 'Qt6EntryPoint' in non-debug configurations (see attached image)

      this produces following linker warning: warning LNK4098: defaultlib 'msvcrtd.lib' conflicts with use of other libs; use /NODEFAULTLIB:library

        Attachments

        1. image.png
          image.png
          11 kB
        2. test-app.7z
          1.0 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            jbornema Joerg Bornemann
            Reporter:
            thomas_wollenzin Thomas Wollenzin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes