[Qt-creator] Qt Creator Clazy Support

Riitta-Leena Miettinen Riitta-Leena.Miettinen at qt.io
Mon Mar 19 09:37:05 CET 2018


Hello,

The documentation for the Clang code model is maybe a little bit hidden away, but you can find it here:

http://doc.qt.io/qtcreator/creator-clang-codemodel.html

Cheers,

Leena


Leena Miettinen
Documentation Engineer

The Qt Company Germany GmbH
Rudower Chaussee 13
D-12489, Berlin, Germany
Geschäftsführer: Mika Pälsi, Juha Varelius, Mika Harjuaho
Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B
riitta-leena.miettinen at qt.io
+49 30 63 92 3255
http://qt.io<http://qt.io/>

[http://s3-eu-west-1.amazonaws.com/qt-files/logos/qt_logo_with_text_green_rgb_400x141.png]<http://qt.io/>

[http://s3-eu-west-1.amazonaws.com/qt-files/logos/SoMe/qt_facebook.png]<http://www.facebook.com/Qt>

[http://s3-eu-west-1.amazonaws.com/qt-files/logos/SoMe/qt_twitter.png]<http://www.twitter.com/qtproject>

[http://s3-eu-west-1.amazonaws.com/qt-files/logos/SoMe/qt_linkedin.png]<https://www.linkedin.com/company/the-qt-company/>

[http://s3-eu-west-1.amazonaws.com/qt-files/logos/SoMe/qt_googleplus.png]<https://plus.google.com/104580575722059274792>

[http://s3-eu-west-1.amazonaws.com/qt-files/logos/SoMe/qt_youtube.png]<https://www.youtube.com/QtStudios>










From: Qt-creator [mailto:qt-creator-bounces+riitta-leena.miettinen=qt.io at qt-project.org] On Behalf Of Orgad Shaneh
Sent: Samstag, 17. März 2018 18:57
To: Jeff Tranter <jtranter at ics.com>
Cc: qt-creator at qt-project.org
Subject: Re: [Qt-creator] Qt Creator Clazy Support

On Fri, Mar 16, 2018 at 10:48 PM, Jeff Tranter <jtranter at ics.com<mailto:jtranter at ics.com>> wrote:
I'm trying to get the new Clazy support in Qt Creator working.

I have Qt Creator 4.6.0 rc1 compiled from source against Qt 5.10.1 on Ubuntu Linux.

In Tools / Options, under Analyzer, it shows:

  Clang executable: clang-5.0
  Version: 5.0.0, supported.

Under C++ / Code Model, is says:

"The Clang Code Model is disabled because the corresponding plugin is not loaded."

Under Help / About Plugins... it shows ClangStaticAnalyzer loaded, version 4.5.83.

I also have clazy built from git and installed and it runs on its own.

I am able to run the Clang static analyzer from Qt Creator but I can't seem to run or configure clazy.

Any ideas?

You need to enable the ClangCodeModel plugin, not ClangStaticAnalyzer.

- Orgad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20180319/fae60417/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 16683 bytes
Desc: image001.png
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20180319/fae60417/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 1439 bytes
Desc: image002.png
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20180319/fae60417/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 1882 bytes
Desc: image003.png
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20180319/fae60417/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.png
Type: image/png
Size: 1620 bytes
Desc: image004.png
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20180319/fae60417/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image005.png
Type: image/png
Size: 2221 bytes
Desc: image005.png
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20180319/fae60417/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image006.png
Type: image/png
Size: 1714 bytes
Desc: image006.png
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20180319/fae60417/attachment-0005.png>


More information about the Qt-creator mailing list