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

Raspberry pi Remote Debugging using sudo?



  • Hi,
    I always are blocked because I cannot debug some application which need to access devices like /dev/serial0 for GPS or LCD-TFT display because there are problems with the permissions.
    I use :

    Qt 5.15.1 (GCC 5.3.1 20160406 (Red Hat 5.3.1-6), 64 bit)
    

    I know if I use Qt on the raspberry as local ide than I can do it.
    Is there any way how to debug a programm using sudo?
    Thanks a lot in advance


  • Lifetime Qt Champion

    @K-Str said in Raspberry pi Remote Debugging using sudo?:

    Is there any way how to debug a programm using sudo?

    Why don't you set access rights for /dev/serial0 so, that your user has access? I guess you just need to add your user to the group assigned to /dev/serial0.


Log in to reply