Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-108148

Raspberry Pi 4: Cannot change default application from the Qt Creator

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • None
    • 6.4.0
    • Device Creation
    • None
    • - Raspberry Pi 4 Model B 4GB
      - Qt for Device Creation QBSP 6.4.0: meta-b2qt-embedded-qbsp-x86_64-raspberrypi4-64-6.4.0.qbsp
      - Qt Creator 8.0.2

    Description

      Steps to reproduce: 

      • open Qt Creator
      • open e.g. Qt Quick 3D - Particles 3D Testbed Example
      • configure Boot2Qt 6.4.0 Raspberry Pi 4 64-bit kit
      • Run
      • app opens in Raspberry's screen
      • edit Boot2Qt 6.4.0 Raspberry Pi 4 64-bit kit, add step under Run: Add Deploy Step -> Change default application (like instructed in https://doc.qt.io/Boot2Qt/b2qt-customization.html) 
      • Run 

      PROBLEM: 
      Deployment steps remains frozen in Qt Creator and default app deoes not get set in device. 

      After Cancelling the build, this was printed to the Compile Output:

      qt.core.qobject.connect: QObject::connect: signal not found in QProcess
      "QTWEBENGINE_DISABLE_SANDBOX" "1"
      "QT_IM_MODULE" "qtvirtualkeyboard"
      "QT_QPA_EGLFS_FORCE888" "1"
      "QT_QPA_EGLFS_HIDECURSOR" "1"
      "QT_QPA_EGLFS_KMS_ATOMIC" "0"
      "QT_QPA_PLATFORM" "eglfs"
      "WAYLAND_DISPLAY" "/run/wayland-0"
      "XDG_RUNTIME_DIR" "/run/user/0"
      "--make-default device://QdbHardwareDevice:b2qt-raspberrypi4-64-e45f01d42d6/usr/examples/quick3d/particles3d/particles3d" QList()
      12:41:08: User requests deployment to stop; cleaning up.
      12:41:08: Deploy step failed.
      12:41:08: Canceled build/deployment.
      12:41:08: Elapsed time: 00:38.

      When I set the default application manually from shell, the default application is set and started after reboot; 

      root@b2qt-raspberrypi4-64:/usr/bin# appcontroller --make-default /usr/examples/quick3d/particles3d/particles3d
      root@b2qt-raspberrypi4-64:/usr/bin# ls -ls b2qt
       0 lrwxrwxrwx 1 root root 45 Apr 28 21:28 b2qt -> /usr/examples/quick3d/particles3d/particles3d
      root@b2qt-raspberrypi4-64:/usr/bin# reboot

      Attachments

        For Gerrit Dashboard: QTBUG-108148
        # Subject Branch Project Status CR V

        Activity

          People

            arpa Ari Parkkila
            jannej Janne Juntunen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes