|
|
@ -56,11 +56,9 @@ void UBOpenSankoreImporter::onProceedClicked() |
|
|
|
newProcess.startDetached(qApp->applicationDirPath()+"/importer/OpenBoardImporter"); |
|
|
|
newProcess.startDetached(qApp->applicationDirPath()+"/importer/OpenBoardImporter"); |
|
|
|
#elif defined Q_OS_OSX |
|
|
|
#elif defined Q_OS_OSX |
|
|
|
newProcess.startDetached(qApp->applicationDirPath()+"/../Resources/OpenBoardImporter.app/Contents/MacOS/OpenBoardImporter"); |
|
|
|
newProcess.startDetached(qApp->applicationDirPath()+"/../Resources/OpenBoardImporter.app/Contents/MacOS/OpenBoardImporter"); |
|
|
|
#else |
|
|
|
#elif defined Q_OS_WIN |
|
|
|
// Windows does not allows to run easily an exe located in a subdirectory when the main
|
|
|
|
QString importerPath = QDir::toNativeSeparators(qApp->applicationDirPath())+"\\OpenBoardImporter.exe"; |
|
|
|
// directory is placed into programs files.
|
|
|
|
newProcess.startDetached("explorer.exe", QStringList() << importerPath); |
|
|
|
//newProcess.startDetached(qApp->applicationDirPath()+"\\Importer\\OpenBoardImporter.exe");
|
|
|
|
|
|
|
|
newProcess.startDetached("C:/OpenBoard/Importer/OpenBoardImporter.exe"); |
|
|
|
|
|
|
|
#endif |
|
|
|
#endif |
|
|
|
qApp->exit(0); |
|
|
|
qApp->exit(0); |
|
|
|
|
|
|
|
|
|
|
|