-
Notifications
You must be signed in to change notification settings - Fork 1.1k
QML Architecture & Development Guide
QML supports JavaScript expressions so if you know a little bit of JavaScript you'll be able to contribute more than you thought!
Make sure you can build and run the QML frontend.
console.log
is available to help debug QML logic.
QML supports a version of the console.log api, which also provides some other goodies like tracing, timing and profiling.
We by default have a very loud log configuration turned on. To minimize it you can set the log level to DEBUG
instead of FINEST
inside the main.go
main
function.
The green lines in the following screenshot represent the top level Item
object id: viewItem
.
The red lines in the following screenshot represent the Item
> ListView
id: view
object.
. Notice that each line of source code is rendered in one of the ListItem child views.