[Qt-creator] LLVM/Clang version (commit) used for particular Qt Creator version

Nikolai Kosjar Nikolai.Kosjar at qt.io
Tue Sep 24 10:16:29 CEST 2019


On 9/13/19 4:53 PM, Andrzej Telszewski wrote:
> On 04/01/2019 16:36, Nikolai Kosjar wrote:
>> You could ask the shipped clang binary:
>>
>> ${INSTALL_DIR}/libexec/qtcreator/clang/bin $ ./clang --version
>> clang version 7.0.0 (git://code.qt.io/clang/clang.git
>> 65ea1c5121bb4b4435d3765b5065003f47613d05)
>> (git://code.qt.io/clang/llvm.git 
>> 301f81d7927dc13cf45e2e8daa8fee0ac87348dc)
> 
> Hi,
> 
> Checking for commit hash does not work anymore as of QtC 4.10.
> That is, for whatever reason, the shipped clang binary does not display 
> the commit hash when invoked with _--version_ switch.
> 
> Please advice.

We've moved to the mono repository of llvm/clang and that's a side 
effect of it. I can confirm that no sha1 is printed with version 8 of 
the mono repository. However, this seems to be fixed in version 9. So 
once we build/ship version 9 it will be there again.

Until then, here is the sha1 for Qt Creator 4.10:

https://code.qt.io/cgit/clang/llvm-project.git/commit/?h=release_80-based&id=b220298d60ddabe9bd9aabfafd78879ce9a810ba

(Our mono repository is https://code.qt.io/clang/llvm-project.git, 
please don't use https://code.qt.io/clang/llvm anymore)

Nikolai


More information about the Qt-creator mailing list