Category: qt

QObject: Cannot create children for a parent that is in a different thread. 0

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:...

Redirect output in QtProcess 0

Redirect output in QtProcess

Method 1 - process->setStandardOutputFile() with process->start() Pro: - Easy to program Cons: - Does not work with process->startDetached(). Only works with process->start() - Only write to the file once the process exit. The file...