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

Live Preview not starting on macOS and Linux

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P1: Critical
    • None
    • QDS 4.1
    • QML Live Preview
    • Linux/X11, macOS

    Description

      Tested with latest 4.1 snapshot (Built on Mar 27 2023 02:43:37)

      When trying to run Live Preview, it wont start and application output shows:

      On linux:

      09:27:20: Starting /home/qt/RTA/QtDesignStudio_4.1.0/Tools/QtDesignStudio-4.1.0-preview/qt6_design_studio_reduced_version/bin/qml2puppet-4.1.0 --qml-runtime -I /home/qt/rta_test_projects/Project3DTemplate6/imports -I /home/qt/rta_test_projects/Project3DTemplate6/asset_imports --apptype widget /home/qt/rta_test_projects/Project3DTemplate6/content/Screen01.ui.qml -qmljsdebugger=file:/tmp/QtDesignStudio-JnNERU/qtc-socket.WImJUH,block,services:QmlPreview,DebugTranslation...
      QML debugging is enabled. Only use this in a safe environment.
      Info: Starting QML Runtime ((null):0, (null))
      Warning: Could not connect "org.freedesktop.IBus" to globalEngineChanged(QString) ((null):0, (null))
      Debug: QML Debugger: Connecting to socket /tmp/QtDesignStudio-JnNERU/qtc-socket.WImJUH... ((null):0, (null))
      Warning: QQmlApplicationEngine failed to load component ((null):0, (null))
      Warning: file:///home/qt/rta_test_projects/Project3DTemplate6/content/+en_US/+unix/+linux/+ubuntu/Screen01.ui.qml: File is empty (file:///home/qt/rta_test_projects/Project3DTemplate6/content/+en_US/+unix/+linux/+ubuntu/Screen01.ui.qml:4294967295, (null))
      qml: Did not load any objects, exiting.
      09:27:21: /home/qt/RTA/QtDesignStudio_4.1.0/Tools/QtDesignStudio-4.1.0-preview/qt6_design_studio_reduced_version/bin/qml2puppet-4.1.0 exited with code 2 

      on macOS:

      10:11:19: Starting /Users/qt/RTA/QtDesignStudio_4.1.0/QtDesignStudio-4.1.0-preview/qt6_design_studio_reduced_version/bin/qml2puppet-4.1.0 --qml-runtime -I /Users/qt/rta_test_projects/Project3DTemplate6/imports -I /Users/qt/rta_test_projects/Project3DTemplate6/asset_imports --apptype widget /Users/qt/rta_test_projects/Project3DTemplate6/content/Screen01.ui.qml -qmljsdebugger=file:/private/var/folders/02/1ch5lwwj4zx72wpd0dwfh24h0000gp/T/QtDesignStudio-ywnqGW/qtc-socket.OKjGnu,block,services:QmlPreview,DebugTranslation...
      QML debugging is enabled. Only use this in a safe environment.
      Info: Starting QML Runtime ((null):0, (null))
      Debug: QML Debugger: Connecting to socket /private/var/folders/02/1ch5lwwj4zx72wpd0dwfh24h0000gp/T/QtDesignStudio-ywnqGW/qtc-socket.OKjGnu... ((null):0, (null))
      Warning: QQmlApplicationEngine failed to load component ((null):0, (null))
      Warning: file:///Users/qt/rta_test_projects/Project3DTemplate6/content/+en_US/+unix/+darwin/+macos/Screen01.ui.qml: File is empty (file:///Users/qt/rta_test_projects/Project3DTemplate6/content/+en_US/+unix/+darwin/+macos/Screen01.ui.qml:4294967295, (null))
      qml: Did not load any objects, exiting.
      10:11:20: /Users/qt/RTA/QtDesignStudio_4.1.0/QtDesignStudio-4.1.0-preview/qt6_design_studio_reduced_version/bin/qml2puppet-4.1.0 exited with code 2 

      Running the project works. Does not reproduce on Windows

      Attachments

        Activity

          People

            tjenssen Tim Jenssen
            tanja_remes Tanja Remes
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: