Sunday, 15 April 2012

IPC between Qt and C/C++ -



IPC between Qt and C/C++ -

i need send/receive info between 2 processes. 1 of them using qt (4 or 5). process running time (like background process).

the other process launched , should able send argv first process , receive answer it.

the sec process must startup fast possible using qtcore kind of lastly resourse. meaning need little , fast possible, i'd need utilize plain c/c++ without external libraries.

any ideas how done?

if that's not possible, i'll have utilize qtcore in sec process. know how much slower because of qtcore vs plain c/c++? (in terms of startup time).

regards

edit:

i can't utilize qbus must mac/linux/windows compatible.

if needs cross platform compatible best bet named sockets/named pipes, should work on each platform. should take info need socket setup. you'll still need network handling code in pure c++ application, should less overhead qt-core , qt-network.

you shared memory, prefer socket method simplicity.

c++ qt ipc

No comments:

Post a Comment