diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2015-05-26 23:50:02 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2015-05-26 23:50:02 +0200 |
commit | f414b6d4e003532ec65eacf6052c2c888b892906 (patch) | |
tree | 6764602d21567de3620e78c3f24e0e669742203a | |
parent | ec05befb3e859f9063ac69436eb035df951855dd (diff) |
ht: forward stderr/stdout for debugging
-rw-r--r-- | ftnoir_tracker_ht/ftnoir_tracker_ht.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp b/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp index 53a05ce7..95523f3b 100644 --- a/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp +++ b/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp @@ -178,6 +178,7 @@ void Tracker::start_tracker(QFrame* videoframe) shm->pause = shm->terminate = shm->running = false; shm->timer = 0; shm->result.filled = false; + subprocess.setProcessChannelMode(QProcess::ForwardedChannels); subprocess.setWorkingDirectory(QCoreApplication::applicationDirPath() + "/tracker-ht"); #if defined(_WIN32) subprocess.start("\"" + QCoreApplication::applicationDirPath() + "/tracker-ht/headtracker-ftnoir" + "\""); |