Important: Please read the Qt Code of Conduct -

Projects, QML and file locations

  • With the minehunt demo, the main project ( doesn't display the QML files in the 'Edit' window unless I open the minehunt.qmlproject as a separate project. Also, when you build, it creates a minehunt-build-simulator directory that needs all QML files (and any nested dirs) to be manually copied into it.

    How can I set up an environment where the QML files are part of the main project and they get copied to the simulator dir?



  • You can add them as resources (either internal or external) and add them as OTHER_FILES to .pro (it will show them in QtCreator)

Log in to reply