Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Execute program on raspbian from GUI
Forum Updated to NodeBB v4.3 + New Features

Execute program on raspbian from GUI

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 326 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    vika_sh
    wrote on 25 Jun 2018, 09:15 last edited by
    #1

    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 :)

    1 Reply Last reply
    0
    • S Offline
      S Offline
      sierdzio
      Moderators
      wrote on 25 Jun 2018, 09:39 last edited by
      #2

      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.

      (Z(:^

      1 Reply Last reply
      2

      1/2

      25 Jun 2018, 09:15

      • Login

      • Login or register to search.
      1 out of 2
      • First post
        1/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved