Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
Qt Creator 4.7.0
-
None
-
Ubuntu 16.04, custom Yocto cross-toolchain, wine 1.8.2 / 3.0.3
-
-
c0a1683de3dd6e29c93d8c1fb268a6cc4a7c02c5 (qt-creator/qt-creator/4.8)
Description
When calling a cross-toolchain, certain flags (including --sysroot) are passed through from the
ProjectExplorer.GccToolChain.PlatformCodeGenFlags to the code model's probing.
For the winegcc wrapper (and probably others?) to work with a cross-toolchain not normally in $PATH, -Bprefix is also needed, and feels appropriate alongside --sysroot (one is where to find host executables, the other where to find target libraries and headers). https://gcc.gnu.org/onlinedocs/gcc/Directory-Options.html#Directory-Options
Could that be added?
Attachments
For Gerrit Dashboard: QTCREATORBUG-21424 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
244989,3 | ProjectExplorer: Whitelist -Bprefix for header path search | 4.8 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |