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

Program doesn't generate QML



  • Hi Guys, I created a new Qt project but it doesn't generate a QML file on it's own. So, I clicked on File->New File->and created a new QML file for my project but if I make changes to this QML and hit run, it doesn't reflect me those changes on my GUI.

    Also, could you please explain what is the use of QML file. QML file design view is quite different than .ui files design view.

    Any help is very appreciable.
    Thanks!


  • Moderators

    There are wizards for QWidget based applications as well as those for QML based ones. So what kind of new Qt project did you create?



  • I clicked on Applications(under Projects) and Qt GUI Application to create this new project.


  • Lifetime Qt Champion

    That's the wrong template, you should create a new Qt Quick application


Log in to reply