summaryrefslogtreecommitdiffhomepage
path: root/tracker-rs/ftnoir_tracker_rs_controls.cpp
diff options
context:
space:
mode:
authorXavier Hallade <xavier.hallade@intel.com>2016-02-03 23:40:48 +0100
committerXavier Hallade <xavier.hallade@intel.com>2016-02-03 23:40:48 +0100
commitf41f404de607b4f8f5aa270e36ae7c43baf63862 (patch)
tree662e30d2765275a13fbff952135b134802168a20 /tracker-rs/ftnoir_tracker_rs_controls.cpp
parente3044329f73fcfb136bb8316df87c4bafd2c2bee (diff)
tracker/rs: added camera preview, removed separate process and TCP socket
the RS implementation still resides in a different DLL as it has to be compiled separately by MSVC compiler.
Diffstat (limited to 'tracker-rs/ftnoir_tracker_rs_controls.cpp')
-rw-r--r--tracker-rs/ftnoir_tracker_rs_controls.cpp11
1 files changed, 2 insertions, 9 deletions
diff --git a/tracker-rs/ftnoir_tracker_rs_controls.cpp b/tracker-rs/ftnoir_tracker_rs_controls.cpp
index be18b3f8..baa01c91 100644
--- a/tracker-rs/ftnoir_tracker_rs_controls.cpp
+++ b/tracker-rs/ftnoir_tracker_rs_controls.cpp
@@ -7,9 +7,6 @@
#include "ftnoir_tracker_rs_controls.h"
-#include <QProcess>
-#include <QMessageBox>
-
RSTrackerControls::RSTrackerControls()
{
ui.setupUi(this);
@@ -20,13 +17,9 @@ RSTrackerControls::RSTrackerControls()
void RSTrackerControls::doInstallRSRuntime()
{
- bool processStarted = QProcess::startDetached("contrib\\intel_rs_sdk_runtime_websetup_7.0.23.8048.exe --finstall=core,face3d --fnone=all");
- if(processStarted){
+ bool pStarted = RSTracker::startSdkInstallationProcess();
+ if(pStarted == true)
this->close();
- }
- else{
- QMessageBox::warning(0, "IntelĀ® RealSenseTM Runtime Installation", "Installation process failed to start.", QMessageBox::Ok);
- }
}
void RSTrackerControls::doOK()