Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Qt Creator and Qt Design Studio integration (and Loader Component)

Qt Creator and Qt Design Studio integration (and Loader Component)

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 148 Views
  • 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.
  • F Offline
    F Offline
    flosset
    wrote on last edited by
    #1

    I started a Qt Quick C++ project in Qt Creator but later had trouble creating the UI. After some research, I discovered Qt Design Studio.

    How would I ideally set up the same project in Qt Design Studio? Do I have to write the .qmlproject file manually, or can it be autogenerated? I'd still like to know the answer, even though I already wrote one myself. I didn't find many resources on the .qmlproject file format, so if you know of any good ones, please suggest them.

    I also have a question about using the Loader component in a .ui.qml file. Is it okay to set the source property of a Loader (which is inside a .ui.qml file) to another .qml file? My research didn't turn up anything indicating that Qt Design Studio understands qrc:/ resource system paths. I tried using them, and it seems to only understand relative paths (I haven't tried absolute paths). ex. Qt Creator can understand $qrc:/page/Home.qml$, but Qt Design Studio doesn't seem to be able to. How is Loader integration supposed to work if only Qt Creator understands resource system paths and Qt Design Studio doesn't?

    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