Hello!

There is a task a application of mine does eventually that consumes quite a lot of memory, while the rest of the system has to process lots of other tasks as well. For optimization purposes, I initially decided to create a QThread-based class that would perform this eventual task separately, while sending progressive signals to a QProgressDialog's setValue(int) slot to tell the user how things are going.

But lately I was thinking about the possibility of moving this task to a different process and control it using QProcess. If I actually end up doing this, how would I connect the signal from the separated process with the QProgressDialog's setValue(int) slot? Is there a way to connect a slot from a given process with a signal from another, child process? Or I would have to implement the communication through a different methodology? In this case, which would it be?


Thanks,


Momergil