git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4360 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
scorpio810
2016-02-28 16:16:51 +00:00
parent 78720fb2b4
commit 3113cd4efc

View File

@@ -1061,10 +1061,15 @@ void QETElementEditor::openRecentFile(const QString &filepath) {
* @brief QETElementEditor::slot_openDxf
*/
void QETElementEditor::slot_openDxf (){
#ifdef Q_OS_WIN
QString program = (QDir::homePath() + "/.qet/DXFtoQET.exe");
#endif
#ifdef Q_OS_LINUX
QString program = (QDir::homePath() + "/.qet/DXFtoQET");
#endif
QStringList arguments;
QProcess *myProcess = new QProcess(qApp);
myProcess->start(program, arguments);
QProcess *DXF = new QProcess(qApp);
DXF->start(program, arguments);
}
/**