i have a console application that generated from bison (a parser) and i want to build a simple gui for it
so i can send input from this gui to the console and get output from the console into the gui .
i tried to do that using java process class but it doesnt work for me , please help me to do that
using qt .
i have a console application that generated from bison (a parser) and i want
Share
It depends on the complexity of the data you want to feed in/out of your console application.
Low complexity
Use some command switches that you pass from your Qt GUI to your console application. Look at the QProcess class documentation.
High complexity
I would go with an RPC-like solution. Look at the QtDBus documentation (Linux/Unix only).
Note: I made the assumption that you want to keep your generated bison parser apart from your Qt GUI (in case you need the regenerate it again).