Projects, QML and file locations



  • With the minehunt demo, the main project (minehunt.pro) 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?

    Thanks

    Simon



  • 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
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.