简体   繁体   English

嵌入式Linux中的两个APP如何正常通信

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

I have a main QT GUI App running in the embedded linux system.我有一个在嵌入式 linux 系统中运行的主要 QT GUI 应用程序。 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?现在我需要创建另一个APP来监控旋转旋钮position并将此信息发送到主QT GUI APP,这两个APP的正常通信方式是什么?

There are many options, though using a pipe or socket is common.有很多选择,尽管使用 pipe 或插座很常见。 What you're looking for is Interprocess Communication .您正在寻找的是Interprocess Communication

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM