Qt Creator and Qt Design Studio integration (and Loader Component)
-
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?