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

Qt hard coded library's path which don't exist on user's machine

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • None
    • 5.14.0 Alpha
    • Build System
    • None
    • MSVC 2019 16.3.1
    • Windows
    • ce5dc3193279cdbcc34b583151ba05464444dd5a (qt/qtbase/5.15)

    Description

      I got the "LINK : fatal error LNK1104: cannot open file 'C:\Program Files (x86)\Windows Kits\10\lib\10.0.17763.0\um\x64\shell32.lib'" error when I was trying to compile something using Qt 5.14.0 alpha. I only installed Windows SDK version 10.0.18362.0, but Qt never try to find shell32.lib in the new SDK's directories.

      It turns out that Qt hard coded the absolute path of some libraries in .prl files. Of course the compilation will fail because I didn't install that version of Win SDK.

      Attachments

        Issue Links

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

          Activity

            People

              jbornema Joerg Bornemann
              wangwenx190 赵 宇航
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes