Monday, February 21, 2022

[SOLVED] How two APP in embedded Linux communicate with each other normally

Issue

I have a main QT GUI App running in the embedded linux system. Now I need to create another APP which is to monitor a rotating knob position and send this information to the main QT GUI APP, wo what's the normal way for this two APP communicate?


Solution

There are many options, though using a pipe or socket is common. What you're looking for is Interprocess Communication.

QT has an interprocess communication abstraction that you can probably use to do this: https://doc.qt.io/qt-5/ipc.html



Answered By - Tom
Answer Checked By - Pedro (WPSolving Volunteer)