Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Projects, QML and file locations
Qt 6.11 is out! See what's new in the release blog

Projects, QML and file locations

Scheduled Pinned Locked Moved Qt Creator and other tools
2 Posts 2 Posters 3.3k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    SimonJudge
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    • D Offline
      D Offline
      DenisKormalev
      wrote on last edited by
      #2

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

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved