Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Communicating with Eternal C++ Project using QT Widgets Application
Forum Updated to NodeBB v4.3 + New Features

Communicating with Eternal C++ Project using QT Widgets Application

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
qwidgetqt creatorqprocessexternal procescmake
2 Posts 2 Posters 932 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.
  • G Offline
    G Offline
    Ghaas
    wrote on 28 Feb 2018, 21:23 last edited by
    #1

    Hello,

    I am an intern at NASA Ames Research Center, I am a EE Student and fairly new to coding.
    I have created a QT GUI already that plots battery voltage as read from the raspberry pi in real time. I have been tasked to also plot the output of an external c++ project into this GUI. This project https://github.com/nasa/GSAP is created using Cmake. Once built, the application is started by running an executable from the linux command line. It then saves this output that I need to plot into a text file. Since reading from a text file is inefficient. I was wondering what the best way would be to include this project into my GUI application, so that I could plot the value directly instead of the application printing to a text file and then reading from there. I was looking into QProcess as a means to run a shell scrip that would start the application, but I am unclear of a good means to incorporate this value into the GUI from the stored variable location. Any help or suggestions would be appreciated.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 28 Feb 2018, 21:48 last edited by
      #2

      Hi and welcome to devnet,

      You should take a look at the various IPC options provided by Qt.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1

      2/2

      28 Feb 2018, 21:48

      • Login

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