[Qt-creator] QtCreator C++ code parser and clang integration status

erik.verbruggen at nokia.com erik.verbruggen at nokia.com
Thu Feb 2 14:37:09 CET 2012


On Feb 1, 2012, at 23:14, ext André Pönitz wrote:

> On Wed, Feb 01, 2012 at 08:07:05PM +0100, Thomas Gahr wrote:
>> [...] ...these are just spontaneous random ideas but I would like to
>> test if it can be done or how stuff is handled in QtCreator atm - is
>> there a branch that uses clang? Where can I find it?
> 
> See e.g.
> 
> http://wiki.qt-project.org/Qt_Creator/Branches#wip:clang
> http://labs.qt.nokia.com/2011/10/19/qt-creator-and-clang/

.. which does handle signals/slots when I get a pending patch a bit more polished.

Specifically about the SIGNAL/SLOT macros: for completion you don't need to expand them: completion is kicked off based on the expression before, then filter out everything but the signals/slots. That's for both the current code-model as well as for clang. So if the preprocessor makes it a string, that's okay.

-- Erik.


More information about the Qt-creator mailing list