Details
-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
QDS 3.7
-
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)
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
- depends on
-
QTCREATORBUG-28074 QML Runtime projects not working on remote targets
- Closed
- relates to
-
QDS-9376 No backslash conversion when launching appcontroller on RPi4 with Boot2Qt
- Closed