Issue about web view sharing in Qt DS
-
Hello. I'm creating an example of converting from Figma to Qt DS and I have a question about the web view sharing feature.
When creating a new project in Qt DS, 'Screen01.ui.qml' is usually specified as the main file. I want to set a .qml file from a different folder as the file to share with the web view. So I selected the qml file I want to set as the main file, right-clicked it, and selected 'Set as Main.ui.qml File' from the dropdown menu to set it.
Then, when I clicked 'file > share application online' and opened the link, an alert saying 'MainApp (name of the qml file I wanted to set as the main file) is not a type' appeared.
Could you please tell me how to set the desired qml file as the main file and view it online?
I have attached the content below.
-
I've come across a similar issue here.
https://forum.qt.io/topic/71551/qml-component-not-recognized-when-loading-from-local-file
You can also import a subfolder, I think which will solve the issue.
-
@Burak-Hancerli Wow, I followed the instructions you provided with the screenshot, and it worked perfectly. I really appreciate not only the link to the forum topic but also the screenshot you captured, which made it very easy to understand. Thank you very much for your kind and helpful guidance.
-
-
-