Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Design Tooling
  3. Qt Design Studio
  4. Issue about web view sharing in Qt DS
Forum Update on Monday, May 27th 2025

Issue about web view sharing in Qt DS

Scheduled Pinned Locked Moved Solved Qt Design Studio
3 Posts 2 Posters 458 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.
  • QDS_AddictQ Offline
    QDS_AddictQ Offline
    QDS_Addict
    wrote on last edited by
    #1

    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.

    스크린샷 2023-05-01 오전 2.27.28.png

    1 Reply Last reply
    0
    • Burak HancerliB Offline
      Burak HancerliB Offline
      Burak Hancerli
      wrote on last edited by
      #2

      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.

      981f4c15-b0a2-4261-9101-09020a9d24d1-image.png

      729eaf6c-b553-40bc-b9fe-70d446d2ef6b-image.png

      QDS_AddictQ 1 Reply Last reply
      1
      • Burak HancerliB Burak Hancerli

        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.

        981f4c15-b0a2-4261-9101-09020a9d24d1-image.png

        729eaf6c-b553-40bc-b9fe-70d446d2ef6b-image.png

        QDS_AddictQ Offline
        QDS_AddictQ Offline
        QDS_Addict
        wrote on last edited by
        #3

        @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.

        1 Reply Last reply
        0
        • QDS_AddictQ QDS_Addict has marked this topic as solved on
        • QDS_AddictQ QDS_Addict has marked this topic as unsolved on
        • QDS_AddictQ QDS_Addict has marked this topic as solved on

        • Login

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