[Qt-creator] Qt Creator Clazy Support

Ivan Donchevskii ivan.donchevskii at qt.io
Mon Mar 19 08:41:53 CET 2018


Hi!

In fact we currently build clang only once with all plugins since it has become possible to put clazy in clang/tools/extra folder.

All steps are in our clang build script (https://github.com/qtproject/qtsdk/blob/master/packaging-tools/build_clang.py)


It's still pretty complicated so basically "grab a pre-build clang from download.qt.io<http://download.qt.io/>" :)


Kind regards,

Ivan

________________________________
From: Qt-creator <qt-creator-bounces+ivan.donchevskii=qt.io at qt-project.org> on behalf of Tobias Hunger <tobias.hunger at gmail.com>
Sent: Saturday, March 17, 2018 7:09:15 PM
To: Orgad Shaneh
Cc: qt-creator
Subject: Re: [Qt-creator] Qt Creator Clazy Support

Hi Jeff,

I am no expert on the code model, please correct me if I am wrong!

Even with clang code model support: This will probably not work with the system-provided clang:-(

The code model uses libclang, which can not load dynamic plugins. So you need to have the flags plug-in statically linked into clang for it to be available.

This makes building clang annoying: You need to build clang, then a static version of flags, and then clang again, linking to the static flags:-(

The simplest thing you can do is probably to grab a pre-build clang from download.qt.io<http://download.qt.io>.

Best Regards,
Tobias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20180319/3abab393/attachment.html>


More information about the Qt-creator mailing list