Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Run Qt - gui application on Raspberry PI



  • Hi. A Qt program does not run on raspberry PI. If I try to execute it from a console I obtain a flash (I see a rectangle for 0.5 second.) and this error:

    @pi@raspberrypi ~ $./ComputerVisionStudio
    QXcbConnection: XCB error: 165 (Unknown), sequence: 150, resource id: 0, major code: 149 (Unknown), minor code: 20
    ^C

    pi@raspberrypi ~ $
    @

    After that I have to do crtl-c to terminate it.
    If I connect to raspberry PI from a pc with ssx -X I can run the application without any problem.

    Have you got any idea?



  • Very strange! If I run the application with sudo the application works!


Log in to reply