[Qt-creator] Clang based code model

Ziller Eike Eike.Ziller at digia.com
Fri Feb 14 17:04:49 CET 2014


On Feb 14, 2014, at 2:44 PM, DimanNe <dimanne at ya.ru> wrote:

> One question, what benefit we should have from clang code model?
> Is it about better support for completion (template, in particular) and navigation (via F2)?
> 
> If so then std::unique_ptr::operarot-> still does not work…

Works for me (on Mac) with the example from QTCREATORBUG-8937 and clang code model enabled (you might need to reopen your project if you changed the model to use while it was open).

Could be that the libclang resources are deployed to the wrong location for some platform, which OS did you try?

Br, Eike

> 
> 14.02.2014, 17:39, "Ziller Eike" <Eike.Ziller at digia.com>:
>> Hi all,
>> 
>> the Qt Creator master snapshots (which will become Qt Creator 3.1), are now built with experimental support for the clang-based code model.
>> 
>> So if you want to try it:
>> 1. download and install from http://download.qt-project.org/snapshots/qtcreator/master/latest/
>> 2. start Qt Creator, Help > About Plugins, enable C++/ClangCodeModel plugin, restart
>> 3. Options > C++ > Code Model, choose clang for the types of files you want
>> 
>> Feedback welcome —> bugreports.qt-project.org :)
>> 
>> Br, Eike
>> 
>> --
>> Eike Ziller, Senior Software Engineer - Digia, Qt
>> 
>> Digia Germany GmbH, Rudower Chaussee 13, D-12489 Berlin
>> Geschäftsführer: Mika Pälsi, Juha Varelius, Tuula Haataja
>> Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B
>> 
>> _______________________________________________
>> Qt-creator mailing list
>> Qt-creator at qt-project.org
>> http://lists.qt-project.org/mailman/listinfo/qt-creator

-- 
Eike Ziller, Senior Software Engineer - Digia, Qt
 
Digia Germany GmbH, Rudower Chaussee 13, D-12489 Berlin
Geschäftsführer: Mika Pälsi, Juha Varelius, Tuula Haataja
Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B



More information about the Qt-creator mailing list