Hello,

My question is in regards to if it is possible for QT to access a variable in a C++ program that is not included in the QTCreator IDE. The external project outputs a value to a text file. Reading from this text file and then using that value in the GUI is inefficient. My goal is to use QT to run a shell script to start this program. Then I would like to know if there is some way to incorporate the code containing this variable directly into the GUI. I was looking into using QProcess but saw this was for input and output streams. I am new to programming and this seemed rather complex. Is there a way to just read this value from the variable and use that value for the GUI or is there a way to use QProcess to do so and if so can you explain how that may work?
Thank you