[Qt-creator] can qt-creator properly parse C only code?
petar.perisin at gmail.com
Fri Sep 19 15:07:05 CEST 2014
I kinda did this for SIGNAL keyword which I needed.
You can comment out stuff in
file, I think.
And recompile QtCrweator after that.
I do not know if it will work for class, but it worked for SIGNAL
On Wed, Sep 17, 2014 at 8:25 PM, Jean-Francois Dagenais <
jeff.dagenais at gmail.com> wrote:
> Hi all,
> I use QtCreator for my many development projects. Amongst them is the
> linux kernel codebase. I enjoy qt-creator enough to get the kernel code
> indexed and I overwrite the build and deploy to suite the kernel build
> Works pretty well, except the kernel source is all pure C and uses some of
> the C++ keywords (such as ‘class’) as normal symbols. This throws off the
> parser and some definitions become missing.
> Is there an easy way to specify “strictly C” to the parser, or hack the
> list of keywords to achieve proper parsing? All kernel C files are suffixed
> with .c and all headers are suffixed with .h
> I am running qt-creator branch 3.2 (HEAD) compiled against Qt 4.8.6
> Thanks for any pointers!
> Qt-creator mailing list
> Qt-creator at qt-project.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Qt-creator