summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorXavier Hallade <xh@novetys.com>2017-05-02 15:28:20 +0200
committerGitHub <noreply@github.com>2017-05-02 15:28:20 +0200
commitff3f20bf50ccae00937732673bbb12f1b6be7afe (patch)
treed44f03e2015270b1e535db59d762221d7f2f88b0
parent4bd22e4d813172eee232d480dc8a00e85f6e4fcb (diff)
tracker/rs: fixed SDK runtime installation cmd
I thought the executable was looked for in workingDir when calling QProcess::startDetached but it's not the case. Providing full path instead. This method works even when there are spaces in the path, as long as a QStringList() of arguments is specified in the call to QProcess::startDetached.
-rw-r--r--tracker-rs/ftnoir_tracker_rs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tracker-rs/ftnoir_tracker_rs.cpp b/tracker-rs/ftnoir_tracker_rs.cpp
index c37c751c..89659086 100644
--- a/tracker-rs/ftnoir_tracker_rs.cpp
+++ b/tracker-rs/ftnoir_tracker_rs.cpp
@@ -85,7 +85,7 @@ bool RSTracker::startSdkInstallationProcess()
{
static const QString contrib_path(OPENTRACK_BASE_PATH + OPENTRACK_CONTRIB_PATH);
- bool pStarted = QProcess::startDetached("intel_rs_sdk_runtime_websetup_10.0.26.0396.exe", QStringList({ "--finstall=core,face3d","--fnone=all" }), contrib_path);
+ bool pStarted = QProcess::startDetached(contrib_path + "intel_rs_sdk_runtime_websetup_10.0.26.0396.exe", QStringList({ "--finstall=core,face3d","--fnone=all" }));
if(!pStarted){
QMessageBox::warning(nullptr,
tr("IntelĀ® RealSenseā„¢ Runtime Installation"),