diff --git a/src/app/tablewindow.cpp b/src/app/tablewindow.cpp index 7fc17c0cb..8d0d2d6ed 100644 --- a/src/app/tablewindow.cpp +++ b/src/app/tablewindow.cpp @@ -571,7 +571,11 @@ QMap TableWindow::InitFormates() const extByMessage[ tr("Wavefront OBJ (*.obj)") ] = ".obj"; QProcess proc; - proc.start(PDFTOPS); +#if defined(Q_OS_WIN) || defined(Q_OS_OSX) + proc.start(qApp->applicationDirPath()+"/"+PDFTOPS); // Seek pdftops in app bundle or near valentin.exe +#else + proc.start(PDFTOPS); // Seek pdftops in standard path +#endif if (proc.waitForFinished(15000)) { extByMessage[ tr("PS files (*.ps)") ] = ".ps"; @@ -579,7 +583,7 @@ QMap TableWindow::InitFormates() const } else { - qWarning()<