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

Can't run deployed Qt application via SSH on Raspberry Pi

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: 5.15.1
    • Fix Version/s: None
    • Component/s: Build tools: Other
    • Labels:
      None
    • Environment:
      Raspian 32-bit on Raspberry Pi 4
    • Platform/s:
      Linux/X11

      Description

       

       

       

       When I am trying to run the charthemes example application and run it after deployement, I am getting the following errors

      Failed to move cursor on screen HDMI1: -13
       Failed to move cursor on screen HDMI1: -13
       Could not set cursor on screen HDMI1: -13
       Attribute Qt::AA_ShareOpenGLContexts must be set before QCoreApplication is created.
       Could not set cursor on screen HDMI1: -13
       Could not set cursor on screen HDMI1: -13
       Could not set DRM mode for screen HDMI1 (Permission denied)
       Could not queue DRM page flip on screen HDMI1 (Permission denied)
       Could not queue DRM page flip on screen HDMI1 (Permission denied)

      I have tried this solution with setting

      export QT_QPA_EGLFS_ALWAYS_SET_MODE="1"

      in ~/.profile, but it didn't work. I have tried setting it in .bashrc, .zshrc and .bash_profile as well.

       

       I can run the application perfectly fine if I transfer it via scp and the run it manually, but that is tedious.

       

        Attachments

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

          Activity

            People

            Assignee:
            qtbuildsystem Qt Build System Team
            Reporter:
            jan292 Jan Claußen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes