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

qmake doesn't uses enviroment var for windows kit

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 5.12.2
    • Build tools: qmake
    • None
    • Windows

    Description

      i build qt-static-5.12.2 using https://github.com/fpoussin/Qt5-MSVC-Static, but for this specific version(previous versions works fine) the qmake make assumption for windows kit folder in "C:\Program Files (x86)\Windows Kits" but my windows kit is installed in "E\Windows kit", manually replacing paths in makefile for new dir results in successful compilation. qt-static-5.12.1 works fine

       

      build>set w
      windir=C:\WINDOWS
      WindowsLibPath=E:\Windows Kits\10\UnionMetadata\10.0.17763.0;E:\Windows Kits\10\References\10.0.17763.0
      WindowsSdkBinPath=E:\Windows Kits\10\bin\
      WindowsSdkDir=E:\Windows Kits\10\
      WindowsSDKLibVersion=10.0.17763.0\
      WindowsSdkVerBinPath=E:\Windows Kits\10\bin\10.0.17763.0\
      WindowsSDKVersion=10.0.17763.0\
      WindowsSDK_ExecutablePath_x64=C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\x64\
      WindowsSDK_ExecutablePath_x86=C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\
      

       

       

       

      link /NOLOGO /DYNAMICBASE /NXCOMPAT /INCREMENTAL:NO /SUBSYSTEM:WINDOWS "/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='*' processorArchitecture='*'" /MANIFEST:embed /OUT:release\installer-qml.exe @C:\Users\gupta\AppData\Local\Temp\installer-qml.exe.1328.3313.jom
      LINK : fatal error LNK1181: cannot open input file 'C:\Program Files (x86)\Windows Kits\10\lib\10.0.17763.0\um\x86\dxgi.lib'
      

      this is reproducible even with the default project(the new empty project by qt creator)

       

       

      Attachments

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

        Activity

          People

            qtbuildsystem Qt Build System Team
            jagannatharjun Prince Gupta
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes