Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-22339

Compilation Database ignores --sysroot option

    XMLWordPrintable

Details

    • All
    • 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

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

        Activity

          People

            yvvan Ivan Donchevskii
            erikjensen Erik Jensen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes