Uploaded image for project: 'Qt Design Studio'
  1. Qt Design Studio
  2. QDS-10008

Live Preview launches the entire application

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • Some future release
    • QDS 4.1, QDS 4.2
    • QML Live Preview
    • None
    • Windows

    Description

      Clicking on the Live Preview button launches the entire project.

      Steps taken:
      1. Create the attached project in QDS 3.9
      2. Executed "Update Components" in Qt Maintencance Tool and got QDS 4.2 snapshot

      3. Open the created project with QDS 4.2
      4. Execute the Live Preview

      • This was reproduced with QDS 4.1 too with the same project.
      • The workaround is to comment out mainFile: "content/App.qml" in the root level .qmproject file. Here are some variation of comment-out in .qmlproject we have tried.

      <Live Preview works>

          //mainFile: "content/App.qml"

          mainUiFile: "content/Screen01.qml"

      <Live Preview doesn't work. If QDS is rebooted with this, the proejct doesn't open>

          mainFile: "content/App.qml"

          //mainUiFile: "content/Screen01.qml"

      <Live Preview doesn't work>

          mainFile: "content/App.qml"

          mainUiFile: "content/Screen01.qml"

      <Project doesn't open>

          //mainFile: "content/App.qml"

          //mainUiFile: "content/Screen01.qml"

      Attachments

        1. image-2023-06-01-17-28-35-204.png
          33 kB
          Mikio Hirai
        2. MirrorDemo.zip
          15 kB
          Mikio Hirai

        Activity

          People

            tjenssen Tim Jenssen
            mikio_hirai Mikio Hirai
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: