1 October 2022
You don't need *all* the modules. For instance, skip QtWebEngine if you can - that one takes a *long* time to compile - it dwarfs all other modules. Of course if you need it, by all means include it.
The init_repository script can help you pick and choose which modules you want. Call it with --help.
@Chinese_soup first just try building qtbase and qtdeclarative. That should give you enough to do what you want - QML rendering. I think qtquickcontrols2 module got moved into the qtdeclarative module with Qt6. If not, include that too (it also got renamed to just qtquickcontrols with the move to Qt 6).