Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
[SOLVED] Accessing QSharedMmory from another process external to Qt
rizoritis last edited by
I am having trouble accessing data from an external C++ process that is written to QSharedMemory by my Qt process. One question I have is if I attach my Qt process to the shared memory do I have to detach it after I write my data so that my external process can read/access it? Or is this only relevant when the shared memory is locked?
Himanshu Rohilla last edited by
If you attach your Qt process with shared memory and write some data there and detach it then your memory segment will destroy.
If you want that your one Qt program or process sends data to another C++ process then you can use Pipe to transfer data between different-2 processes.