Important: Please read the Qt Code of Conduct -

How to Connect Qt Ui to QML

  • Hello, i have developed a project in Qt widget Application but i want the same project in qml. So, my question is
    there any way to connect the ui project with qml or can we convert it into qml ? i know i can develope it again into qml but it will be very time taking so i want to know is there any way to connect or convert ? If yes please give me a example ,it will be easier to understand.
    Thank You in advance.

  • what exactly do you want to connect to QML? single button clicks form the widget UI or something like that would be not that easy but you should be able to start a QML window from a UI widgets or vise versa but accessing the items of the component can of course be archived from c++ in both cases..

Log in to reply