How C application send notification to Qt application on Linux
Hi,
I have a C application which wants to notify qt application for some value changed on Linux OS platform, what is the best way to do it, please help.
Regards,
Re: How C application send notification to Qt application on Linux
The "best way" depends on your requirements.
What you are looking for is a form of IPC (Inter process communication).
Search google for "IPC methods linux".
One good link I found is this: https://stackoverflow.com/questions/...chnique-to-use
But have a look at google - there are many other good sources about IPC on the internet.
Re: How C application send notification to Qt application on Linux
Hi,
Thanks for your quick reply.
But I would like to have some notification on my qt application side when C application wants to send some message.
I want to avoid polling on my Qt application side.
Please reply if something similar is possible, otherwise I can do this in different thread and when value is really changed I can notify main thread for that notification.
Thanks,
Re: How C application send notification to Qt application on Linux