Data exchange between Qt & Linux console?!
-
Hi there~
I am new to Qt!!
Actually, I don't even get my hand on Qt yet!!I don't know if it's good to put my question here....
Please let me if I need to change the post somewhere else. thanks.My question is
- Is it possible to do data exchange between Qt application & Linux console program?
- If yes, how can I do it?! IPC? QSharedMemory? QSemaphore? or ?!
very appreciated to any information.
Best Regards,
SP -
"QProcess":http://doc.qt.digia.com/qt/qprocess.html, I cant elaborate more since I am not expert in Linux. But it is used to communicate with console applications... wherein Qt is most often used as "frontend" for most console-based app.
-
Many thanks for your information!!
I will take a look on the page http://doc.qt.digia.com/qt/qprocess.html#details
It takes time to me since I am all new to Qt......[quote author="Code_ReaQtor" date="1352704587"]"QProcess":http://doc.qt.digia.com/qt/qprocess.html, I cant elaborate more since I am not expert in Linux. But it is used to communicate with console applications... wherein Qt is most often used as "frontend" for most console-based app.[/quote]
-
You might also want to look into D-Bus and its Qt wrapper libQtDBus.
Many Linux apps use that nowadays to talk to each other.
-
Many thanks for your information!!
vary appreciated!![quote author="Tobias Hunger" date="1352750944"]You might also want to look into D-Bus and its Qt wrapper libQtDBus.
Many Linux apps use that nowadays to talk to each other.[/quote]