on-internet
← Community

How to detect "silent" typo mistakes in qml files

Stack Overflow ·

I noticed that typo mistakes in QML files are sometimes not notified neither at build-time nor at run-time. This results in the program running but not as intended and spending a lot of time searching for the source of the problem. In my example, the "unnoticed error" is a property from a C++ custom module called point2D (in form of a QML_VALUE_TYPE) My question is: is there a way or a tool in QtCreator that highlights this type of "errors"? During my research I found mentions of qmllint , when used (I activate it like shown in the screenshot) , it does indeed issue a warning, but only in the

Comments

Sign in or sign up to comment and upvote.

No comments yet.