mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-21 16:50:53 +01:00
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:
@@ -1046,9 +1046,16 @@ void QETElementEditor::slot_openDxf (){
|
|||||||
|
|
||||||
#ifdef Q_OS_WIN32
|
#ifdef Q_OS_WIN32
|
||||||
QString program = (QDir::homePath() + "/Application Data/qet/DXFtoQET.exe");
|
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");
|
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);
|
||||||
|
|||||||
Reference in New Issue
Block a user