Fixes builds on non-Linux non-OSX Unix platforms, thank Tamas

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4751 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
scorpio810
2016-10-19 19:41:14 +00:00
parent e3d14ea0bc
commit 97294a0ddf

View File

@@ -1044,18 +1044,13 @@ void QETElementEditor::openRecentFile(const QString &filepath) {
*/ */
void QETElementEditor::slot_openDxf (){ void QETElementEditor::slot_openDxf (){
#ifdef Q_OS_WIN32 #if defined(Q_OS_WIN32)
QString program = (QDir::homePath() + "/Application Data/qet/DXFtoQET.exe"); QString program = (QDir::homePath() + "/Application Data/qet/DXFtoQET.exe");
#endif #elif defined(Q_OS_MAC)
#ifdef Q_OS_MAC
QString program = (QDir::homePath() + "/.qet/DXFtoQET.app"); QString program = (QDir::homePath() + "/.qet/DXFtoQET.app");
#endif #else
#ifdef Q_OS_LINUX
QString program = (QDir::homePath() + "/.qet/DXFtoQET"); QString program = (QDir::homePath() + "/.qet/DXFtoQET");
#endif #endif
QStringList arguments; QStringList arguments;
QProcess *DXF = new QProcess(qApp); QProcess *DXF = new QProcess(qApp);
DXF->start(program,arguments); DXF->start(program,arguments);