[qet] qet/qet: [4739] Add PATH for launch DXFtoQET plugin on QET element editor file menu for

[ Thread Index | Date Index | More lists.tuxfamily.org/qet Archives ]


Revision: 4739
Author:   scorpio810
Date:     2016-10-13 03:41:43 +0200 (Thu, 13 Oct 2016)
Log Message:
-----------
Add PATH for launch DXFtoQET plugin on QET element editor file menu for
macOSX platform

Modified Paths:
--------------
    trunk/sources/editor/qetelementeditor.cpp

Modified: trunk/sources/editor/qetelementeditor.cpp
===================================================================
--- trunk/sources/editor/qetelementeditor.cpp	2016-10-13 00:08:29 UTC (rev 4738)
+++ trunk/sources/editor/qetelementeditor.cpp	2016-10-13 01:41:43 UTC (rev 4739)
@@ -1046,9 +1046,16 @@
 
 #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);


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/