Solved QProcess, ready ?
-
@SPlatten
As @jsulm has said, why the thread at all? Yesterday we discussed this in https://forum.qt.io/topic/120854/executing-qprocess-in-qthread-memory-leak. May I suggest you have a read through that, and see if it doesn't apply equally to your situation. -
@jsulm , so I've learnt today...I've implemented @KroMignon solution.
-
@SPlatten said in QProcess, ready ?:
so I've learnt today...I've implemented @KroMignon solution.
Your welcome, always keep in mind that Qt is an asynchronous framework. And reading documentation is never a bad idea ;-)
Thread a not always a good solution to solve problems... Most of the time they creates bigger one!
-
@KroMignon , thank you, I'm contracting and have been working flat out, I agree its good to read the documentation, its a balance, between getting the job done and learning the technology.