Add PATH for launch DXFtoQET plugin on QET element editor file menu for

macOSX platform


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4739 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
scorpio810
2016-10-13 01:41:43 +00:00
parent c7651af599
commit 415996631a

View File

@@ -1046,9 +1046,16 @@ void QETElementEditor::slot_openDxf (){
#ifdef Q_OS_WIN32
QString program = (QDir::homePath() + "/Application Data/qet/DXFtoQET.exe");
#else
#endif
#ifdef Q_OS_MAC
QString program = (QDir::homePath() + "/.qet/DXFtoQET.app");
#endif
#ifdef Q_OS_LINUX
QString program = (QDir::homePath() + "/.qet/DXFtoQET");
#endif
QStringList arguments;
QProcess *DXF = new QProcess(qApp);
DXF->start(program,arguments);