Execute program on raspbian from GUI



  • Hello everyone
    We are trying to create a GUI for a Programm that will be Running on raspbian. Our question is how do we implement that? We are using python. So basically we want a start button in the GUI and when we push it the program that is on raspbian should be executed.
    Im really new to this and we have to do that as a project for university.
    Could someone help us out?
    Thanks :)


  • Moderators

    Is your gui application going to work on the same machine as the program you want to run?

    If that's the case, then your can run that program using either QProcess or openUrl().

    If, however, your gui app will be executed on different machine, then you need to communicate with your raspbery pi, for example using QtNetwork module, or QtRemoteObjects module.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.