summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-05-26 23:50:02 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-05-26 23:50:02 +0200
commitf414b6d4e003532ec65eacf6052c2c888b892906 (patch)
tree6764602d21567de3620e78c3f24e0e669742203a
parentec05befb3e859f9063ac69436eb035df951855dd (diff)
ht: forward stderr/stdout for debugging
-rw-r--r--ftnoir_tracker_ht/ftnoir_tracker_ht.cpp1
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" + "\"");