Important: Please read the Qt Code of Conduct -

Decoupled QML frontend/backend architecture for Node js, Android, Webapp and Native usecases

  • This is a sketch for a cross-platform architecture where the frontend is qml and the backend is c++. I know that qt is cross-platform by design but I was looking for a design with which I can have the same frontend and backend everywhere even in a client-server setup. Besides that I also wanted more freedom (not being bound to a specific android ndk version) but also wanted to keep qml as a ui even for non qt c++ backend. So I started by decoupling the qml ui and looked for a design pattern with which the communication can be solved in each scenario.

    You can find the project here with the wiki, code and the build artifacts:

Log in to reply