简体   繁体   中英

How to make Qt Creator tell me about errors in QML?

Qt Creator didn't tell me about typo in my QML form - not even during runtime.. I'd expect this bug to be easily detectable..

anchors.bottom: parent.botttom

Is this just matter of settings or is QML just this bad? Instead of telling me that target of assignment doesn't exist, it just didn't do anything and anchor was not set.

Seems that only available checks are outlined here: https://doc.qt.io/qtcreator/creator-checking-code-syntax.html#javascript-and-qml-error-codes

It's static analysis (run by pressing CTRL+SHIFT+C) and it catches some of the problems.. Not this one though.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM