QML looks a bit like the web: nested objects, properties, something that reminds you of components. It is not C++. It is not HTML either.
C++ is still there - types, the engine, the parts that need to be fast or close to the system. QML describes the UI tree and how it binds. If you open Qt Designer expecting to drag widgets around a .qml file, you will have a confusing afternoon. Designer is happier with .ui / Widgets. QML has different tools.
That mix-up has its own problem log entry. This TIL is just the sentence I needed earlier: the screen file is not the language I compile.