Details
-
Bug
-
Resolution: Done
-
P4: Low
-
Qt Creator 4.12.0-beta1
-
None
-
-
74d458c0da24d6f99e8b0df58541ba92ad20973c (qt-creator/qt-creator/4.11)
Description
When building for Windows, either on Windows or cross compiling, clang-cl accepts the "-imsvc" (or "/imsvc") flag to tell it where to find Windows header files. E.g.:
../../third_party/llvm-build/Release+Asserts/bin/clang-cl -imsvc../../third_party/depot_tools/win_toolchain/vs_files/8f58c55897a3282ed617055775a77ec3db771b88/win_sdk/Include/10.0.18362.0/um -imsvc../../third_party/depot_tools/win_toolchain/vs_files/8f58c55897a3282ed617055775a77ec3db771b88/win_sdk/Include/10.0.18362.0/shared ...
It doesn't appear that Qt Creator currently handles these flags at all. (`grep -R imsvc` returns no results, and opening the compilation database leads to include errors in the projects source files.)
Attachments
For Gerrit Dashboard: QTCREATORBUG-23146 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
279333,2 | CompilationDbManager: Add support for the "/imsvc" option | 4.11 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |