On Sun, Feb 15, 2015 at 7:48 PM, Nikos Chantziaras <[email protected]> wrote:

> A library I'm using has an "emit" identifier for a function. Creator
> gets horribly confused by this, redlines everything and does not
> recognize any declarations or definitions that depend on that function.
> Example:
>
>    QGst::PadPtr vidpad(QGlib::emit<QGst::PadPtr>(fPipeline,
>                        "get-video-pad", 0));
>
> Any way I can tell Creator that "emit" here is not what it thinks it is?
> Defining QT_NO_KEYWORDS doesn't help. Nor does #undef emit do the trick
> (those only solve the compilation issue; Creator doesn't seem impressed
> by either of those.)
>
> _______________________________________________
> Qt-creator mailing list
> [email protected]
> http://lists.qt-project.org/mailman/listinfo/qt-creator
>


Well, that is QTCREATORBUG-8007
<https://bugreports.qt.io/browse/QTCREATORBUG-8007>. See Nikolai's comments
for my proposed wip change <https://codereview.qt-project.org/72481>.

I tried to work on this recently, but didn't find the time. Feel free to
take over :)

- Orgad
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/qt-creator

Reply via email to