I have 2 programs. Console and QT. Console program should make some data , and qt program should than show this data. But this should be separate programs, and i do not know how can i tell QT program to do somthing from my Console. Two programs are local and Qt program is always running (so that i can not just run it every time), and Console is only lunched when needed. So the question is – how can i execute somthing in Qt after console program finishes?
P.S. The console program makes a file that Qt program can read and than display.
I’m using windows.
I have 2 programs. Console and QT. Console program should make some data ,
Share
You might consider using something like QFileSystemWatcher to poll for changes in a particular directory, then have your console program write the file there. That way the Qt program would get a notification when the contents of the directory change.