...the subject says it all - trivial patch below.
Cheers, Albrecht.
Index: src/CMapQMAPExport.cpp
===================================================================
--- src/CMapQMAPExport.cpp (Revision 3153)
+++ src/CMapQMAPExport.cpp (Arbeitskopie)
@@ -75,17 +75,18 @@ CMapQMAPExport::CMapQMAPExport(const CMapSelection
has_map2jnx = file_map2jnx.exists();
path_map2gcm=
QCoreApplication::applicationDirPath()+QDir::separator()+"map2gcm.exe";
#else
- QProcess proc1;
- proc1.start(MAP2JNX);
- proc1.waitForFinished();
- has_map2jnx = proc1.error() == QProcess::UnknownError;
- path_map2jnx = MAP2JNX;
#if defined(Q_WS_MAC)
- // MacOS X: application is stored in the bundle folder
+ // MacOS X: applications are stored in the bundle folder
path_map2gcm =
QString("%1/Resources/map2gcm").arg(QCoreApplication::applicationDirPath().replace(QRegExp("MacOS$"),
""));
+ path_map2jnx =
QString("%1/Resources/map2jnx").arg(QCoreApplication::applicationDirPath().replace(QRegExp("MacOS$"),
""));
#else
path_map2gcm= "map2gcm";
+ path_map2jnx = MAP2JNX;
#endif
+ QProcess proc1;
+ proc1.start(path_map2jnx);
+ proc1.waitForFinished();
+ has_map2jnx = proc1.error() == QProcess::UnknownError;
#endif
groupBirdsEye->hide();
groupJPEG->hide();
------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Qlandkartegt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users