Skip to content

Commit

Permalink
remove /bin from application path for MSVC build
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8537 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed May 28, 2008
1 parent 238ef96 commit 0a1e26f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/core/qgsapplication.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,12 @@ QgsApplication::~QgsApplication()
void QgsApplication::setPrefixPath(const QString thePrefixPath, bool useDefaultPaths)
{
mPrefixPath = thePrefixPath;
#if defined(_MSC_VER)
if( mPrefixPath.endsWith("/bin") )
{
mPrefixPath.chop(4);
}
#endif
if (useDefaultPaths)
{
setPluginPath(mPrefixPath + QDir::separator() + QString(QGIS_PLUGIN_SUBDIR));
Expand Down

0 comments on commit 0a1e26f

Please sign in to comment.