Skip to content
Permalink
Browse files

[server] Stop messing with app initialization paths

  • Loading branch information
elpaso committed Feb 15, 2018
1 parent e4407c6 commit f1f1c3d1555225bbcf7a580c509413de660c46a4
Showing with 0 additions and 8 deletions.
  1. +0 −8 src/server/qgsserver.cpp
@@ -194,14 +194,6 @@ bool QgsServer::init()
QCoreApplication::setOrganizationDomain( QgsApplication::QGIS_ORGANIZATION_DOMAIN );
QCoreApplication::setApplicationName( QgsApplication::QGIS_APPLICATION_NAME );

#if !defined(Q_OS_WIN)
// Set the QGIS_PREFIX_PATH environnemnt instead of calling directly
// setPrefixPath: this will allow running server from build directory
// and get the paths accordingly
setenv( "QGIS_PREFIX_PATH", CMAKE_INSTALL_PREFIX, 1 );
#endif

//Default prefix path may be altered by environment variable
QgsApplication::init();

#if defined(SERVER_SKIP_ECW)

0 comments on commit f1f1c3d

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