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

qmake doesn't work with Windows Kit 18362 in VS2015 environment

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P2: Important
    • None
    • 5.12.6
    • Build tools: qmake
    • None
    • Windows

    Description

      When I generate vcxproj files with qmake in VS2015 development environment and Windows Kit 18362, the Additional Dependencies refers to shell32.lib in Windows Kit 17763 which is not installed on my machine.

      EXPECTED: Qmake generated vcxproj files use one Windows Kit consistently.

      ACTUAL: Qmake somehow determines that shell32.lib is in Windows Kit 17763 (which is not installed), resulting in a linker failure.

      Please find the attached sample project to reproduce the issue. The project contains main.cpp, sandbox.pro and sandbox-qmake.bat. The batch file sets up the VS2015 developer environment then calls qmake.

      I have defined WS2_32 as a dependency to demonstrate that it is correctly found in Windows Kit 18362 unlike shell32 which is not defined anywhere.

      My Windows version is 1903. Visual Studio 2019 is used with VS2015 compiler.

      Attachments

        1. config.cache
          129 kB
        2. config.log
          111 kB
        3. config.summary
          11 kB
        4. SandboxQt.zip
          0.9 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kkohne Kai Köhne
            judit-optibrium Judit Varga
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes