diff options
Diffstat (limited to 'tracker-rs/ftnoir_tracker_rs.cpp')
-rw-r--r-- | tracker-rs/ftnoir_tracker_rs.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tracker-rs/ftnoir_tracker_rs.cpp b/tracker-rs/ftnoir_tracker_rs.cpp index d543c49c..4a59d74a 100644 --- a/tracker-rs/ftnoir_tracker_rs.cpp +++ b/tracker-rs/ftnoir_tracker_rs.cpp @@ -9,6 +9,7 @@ #include "ftnoir_tracker_rs_controls.h" #include "imagewidget.h" #include "opentrack/plugin-api.hpp" +#include "opentrack-library-path.h" #include <QMessageBox> #include <QProcess> #include <QStackedLayout> @@ -82,7 +83,9 @@ void RSTracker::handleTrackingEnded(int exitCode){ bool RSTracker::startSdkInstallationProcess() { - bool pStarted = QProcess::startDetached("contrib\\intel_rs_sdk_runtime_websetup_10.0.26.0396.exe --finstall=core,face3d --fnone=all"); + static const QString contrib_path(OPENTRACK_BASE_PATH + QString(OPENTRACK_CONTRIB_PATH)); + + bool pStarted = QProcess::startDetached(contrib_path + "intel_rs_sdk_runtime_websetup_10.0.26.0396.exe --finstall=core,face3d --fnone=all"); if(!pStarted){ QMessageBox::warning(0, "IntelĀ® RealSenseā¢ Runtime Installation", "Installation process failed to start.", QMessageBox::Ok); } |