Skip to content
Permalink
Browse files
Add static method to find msexport app
git-svn-id: http://svn.osgeo.org/qgis/trunk@5803 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Sep 10, 2006
1 parent 8b7c713 commit a42798e61dc01dd14585715a444468ef58bd596d
Showing with 15 additions and 0 deletions.
  1. +12 −0 src/core/qgsapplication.cpp
  2. +3 −0 src/core/qgsapplication.h
@@ -90,6 +90,18 @@ const QString QgsApplication::helpAppPath()
helpAppPath += "/qgis_help";
return helpAppPath;
}
/*!
Returns the path to the mapserverexport application.
*/
const QString QgsApplication::msexportAppPath()
{
QString msexportAppPath = applicationDirPath();
#ifdef Q_OS_MACX
msexportAppPath += "/bin/msexport.app/Contents/MacOS";
#endif
msexportAppPath += "/msexport";
return msexportAppPath;
}

/*!
Returns the path to the translation directory.
@@ -36,6 +36,9 @@ class QgsApplication: public QApplication
//! Returns the path to the help application.
static const QString helpAppPath();

//! Returns the path to the mapserver export application.
static const QString msexportAppPath();

//! Returns the path to the translation directory.
static const QString i18nPath();

0 comments on commit a42798e

Please sign in to comment.