diff --git a/gpx.nuspec b/gpx.nuspec index 0f9a714..9d67bb2 100644 --- a/gpx.nuspec +++ b/gpx.nuspec @@ -9,7 +9,7 @@ http://github.com/markwal/GpxUi https://raw.githubusercontent.com/markwal/GpxUi/master/gpx.ico false - GPX is a post processing utility for converting gcode output from 3D slicing software to x3g files for standalone 3D printing on Makerbot printers. + GPX converts .gcode to .x3g for 3d printing Copyright 2013-2015, portions copyright 2008, all rights reserved gcode x3g makerbot diff --git a/rungpx.cpp b/rungpx.cpp index e51113f..9d32a6d 100644 --- a/rungpx.cpp +++ b/rungpx.cpp @@ -1,6 +1,7 @@ #include "rungpx.h" #include "ui_rungpx.h" +#include #include #include #include @@ -57,7 +58,8 @@ void RunGpx::ReadStdOut() void RunGpx::Translate(const QString& sInputName, const QString& sOutputName) { - QString sApp = QLatin1String("gpx.exe"); + QDir dir(QApplication::instance()->applicationDirPath()); + QString sApp = dir.absoluteFilePath(QLatin1String("gpx.exe")); QStringList slArgs; slArgs << QLatin1String("-v") << sInputName << sOutputName;