Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Q: how to use a MySql DB in QML with out C++



  • Hi guys i'm new to QML and i woudl like to know how to contect my MySql Database to QML, so that the user could make the login and the profile update.

    Can some one help me ??



  • Hi, you won't be able to use a mysql base directly from qml and without c++.
    You can access only to a local storage from qml.

    You can create with c++ new qml component to access directly to your db or create a db layer and bind the result to qml.


Log in to reply