[Qt-creator] Problem with clang code model when cross-compiling with clang
Nikolai Kosjar
Nikolai.Kosjar at qt.io
Thu Jul 4 08:30:08 CEST 2019
On 7/3/19 2:18 PM, Nikolai Kosjar wrote:
> On 6/28/19 1:42 AM, Christian Gagneraud wrote:
>> Hi there,
>>
>> QtCreator v4.9.1, from online installer.
>> x86_64 Ubuntu 18.04
>> clang-8 from https://apt.llvm.org
>> target: armv7a-custom-linux (g++-5.3.0)
>>
>> As an experiment, i'm currently cross-compiling our project with clang-8.
>> Since then, the clang-code model is broken.
>> I've noticed these asserts and error messages:
>> "The command \"/usr/bin/clang++-8\" terminated with exit code 1."
>
> I'm adding some logging category that will provide more details for this
> one:
>
> https://codereview.qt-project.org/c/qt-creator/qt-creator/+/266987
Submitted, one of the next snapshots at
http://download.qt.io/snapshots/qtcreator/4.10/4.10.0-rc1/
should contain the change.
Activate the logging rule by starting Qt Creator in an environment
containing
QT_LOGGING_RULES=qtc.utils.synchronousprocess=true
Nikolai
More information about the Qt-creator
mailing list