[Qt-creator] How to know if the QML parser failed ?
Ariel Molina
ariel at edis.mx
Mon Feb 15 19:07:07 CET 2016
Maybe you can do it even before using the included qmllint
On Thu, Nov 5, 2015 at 8:15 AM, Axel A <e_ax13 at hotmail.fr> wrote:
> Hi !
>
>
> I'm developing a QtCreator plugin to preview QML files, and I would like
> to know if it is possible to retrieve the diagnostic messages from the
> parser without instanciating QmlJS::Parser, Engine...in my own code.
>
>
> In fact, I just need to know if there's parsing errors. If it's true, the
> plugin shouldn't trigger a refresh of the preview.
>
>
> Thanks you very much,
>
>
> Axel A.
>
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qt-creator
>
>
--
Ariel Molina R.
Oficina: +52 (222) 3723196
Movil: +521 2226 758874
http://edis.mx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20160215/f5c95f86/attachment.html>
More information about the Qt-creator
mailing list