From f414b6d4e003532ec65eacf6052c2c888b892906 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 26 May 2015 23:50:02 +0200 Subject: ht: forward stderr/stdout for debugging --- ftnoir_tracker_ht/ftnoir_tracker_ht.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'ftnoir_tracker_ht') 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" + "\""); -- cgit v1.2.3