Skip to content
Permalink
Browse files

remove /bin from application path for MSVC build

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8537 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef
jef committed May 28, 2008
1 parent 238ef96 commit 0a1e26f22187d59e77a1834e5a0ae3c9bab270e2
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/core/qgsapplication.cpp
@@ -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));

0 comments on commit 0a1e26f

Please sign in to comment.
You can’t perform that action at this time.