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

Unable to run .qmlproject app on Boot2Qt device.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • QDS 4.0
    • QDS 3.7
    • Boot2Qt Integration
    • Host: Windows 10 Pro 21H2
      Target: Raspberry Pi 4, using prebuilt QBSP (meta-b2qt-embedded-qbsp-x86_64-mingw32-raspberrypi4-64-6.2.6.qbsp)
    • Windows

    Description

      Tested by loading the CoffeeMachine example in Qt DS 3.7.0: https://doc.qt.io/qtdesignstudio/qtdesignstudio-coffeemachine-example.html

      The "Compile Output" pane shows that all the required files are deployed successfully:

      15:37:09: 43 file(s) need to be uploaded.
      15:37:09: sftp> -mkdir /opt
      15:37:09: sftp> -mkdir /opt/CoffeeMachine
      ...
      15:37:11: sftp> put C:/Users/dev/Documents/QtDesignStudio/CoffeeMachine/content/App.qml /opt/CoffeeMachine/content/App.qml
      ...
      15:37:15: All files successfully deployed.
      15:37:15: Deploy step finished.
      15:37:15: Elapsed time: 00:11.
      

       

      However, the "Application Output" pane shows that it failed to run the deployed files:

      15:37:15: Starting /usr/bin/appcontroller qmlscene -I /opt/CoffeeMachine/imports -I /opt/CoffeeMachine/asset_imports /opt/CoffeeMachine/content/App.qml...
      15:37:15: The process failed to start. Either the invoked program "\usr\bin\appcontroller" is missing, or you may have insufficient permissions to invoke the program.
      

       

      Workaround

      Since deployment was completed successfully, I manually opened an SSH terminal ("Edit" > "Preferences..." > "Devices" > "Devices" > "Open Remote Shell") and copied the same command above...

      $ /usr/bin/appcontroller qmlscene -I /opt/CoffeeMachine/imports -I /opt/CoffeeMachine/asset_imports /opt/CoffeeMachine/content/App.qml
      

      ...and it runs fine.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              hjk hjk
              skoh-qt Sze Howe Koh
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes