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).