Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
Qt Creator 4.9.0
-
None
-
-
cc9d246b028c518d1fc01fc8318f0945949040d3 (qt-creator/qt-creator/master)
Description
I'm working on a project that builds for android. In this configuration, the command-line for compiled C++ files includes --sysroot=../../third_party/android_ndk/sysroot to ensure that the proper header files are being pulled in. However, the compilation database plugin doesn't seem to pick up this flag, and as a result I end up with lots of errors in the IDE due to the inability to locate the proper system headers and android-specific headers (e.g. jni.h).
Attachments
For Gerrit Dashboard: QTCREATORBUG-22339 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
259815,5 | CompilationDatabase: Asjust the sysroot and target handling | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |