QObject: Cannot create children for a parent that is in a different thread.
Verifying sig of "/var/folders/zq/8tgn5xxs6xjdmhky_c3x3s79yx39ym/T/HaivisionHelper_sample-outputter/checksum_7158d01e2df962079a3cda50ed56df92/sample-outputter"
Going to launching...
After launching...
QObject: Cannot create children for a parent that is in a different thread.
(Parent is QProcess(0x7f8ca9787830), parent's thread is QThread(0x7f8ca9501040), current thread is QThread(0x7f8ca96b3070)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is QProcess(0x7f8ca9787830), parent's thread is QThread(0x7f8ca9501040), current thread is QThread(0x7f8ca96b3070)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is QProcess(0x7f8ca9787830), parent's thread is QThread(0x7f8ca9501040), current thread is QThread(0x7f8ca96b3070)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is QProcess(0x7f8ca9787830), parent's thread is QThread(0x7f8ca9501040), current thread is QThread(0x7f8ca96b3070)
Trying to use moveToThread() failed with
QObject::moveToThread: Cannot move objects with a parent
So let's capitulate and create a local variable
QProcess * qProcess = new QProcess();
if (qProcess == NULL)
{
qDebug() << "Out of memory creating QProcess";
HaiHelper::Logging() << "Out of memory creating QProcess";
return;
}
Ouch!! it still fails with :
QObject: Cannot create children for a parent that is in a different thread.
(Parent is QThread(0x7f94e3e946b0), parent's thread is QThread(0x7f94e3f01e60), current thread is QThread(0x7f94e3e946b0)
I just called process->waitForFinished(100) in a loop, then deleted the QProcess object.
QObject::connect: Cannot queue arguments of type 'QProcess::ExitStatus'
(Make sure 'QProcess::ExitStatus' is registered using qRegisterMetaType().)
Recent Comments