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

How to edit raspberry pi config file from Qt?



  • I can able to read /boot/config.txt file in raspberry pi,unfortunately I can't able to edit in config file??I also try change the mode of config file but it didn't work?Please any one help to solve this issue??


  • Qt Champions 2019

    @Bharathi What exactly did you change and what exactly did not work? That file is only writeable by user root. You either need to start your app as root, or (THIS IS BAD!) you give others write access. You could for example define a group, give that group write access to that file and add your user to the group.



  • I want to change the screen orientation,so I add display_rotate=3 in config file.But the animation used in text is not smooth as I used in display_rotate=0.


Log in to reply