[Qt-creator] How to know if the QML parser failed ?

Axel A e_ax13 at hotmail.fr
Thu Nov 5 15:15:37 CET 2015

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20151105/2a8bca62/attachment.html>

More information about the Qt-creator mailing list