Skip to content
Permalink
Browse files

fix build on xenial (Qt <5.6)

  • Loading branch information
jef-n committed May 9, 2019
1 parent 80ae670 commit dbc64636401a983a1764ad48bb763a6abdbdf939
Showing with 5 additions and 1 deletion.
  1. +5 −1 src/server/qgsserver.cpp
@@ -231,7 +231,11 @@ bool QgsServer::init()
QgsMessageLog::logMessage( "PkgData PATH: " + QgsApplication::pkgDataPath(), QStringLiteral( "Server" ), Qgis::Info );
QgsMessageLog::logMessage( "User DB PATH: " + QgsApplication::qgisUserDatabaseFilePath(), QStringLiteral( "Server" ), Qgis::Info );
QgsMessageLog::logMessage( "Auth DB PATH: " + QgsApplication::qgisAuthDatabaseFilePath(), QStringLiteral( "Server" ), Qgis::Info );
QgsMessageLog::logMessage( "SVG PATHS: " + QgsApplication::svgPaths().join( QDir::listSeparator() ), QStringLiteral( "Server" ), Qgis::Info );
#ifdef Q_OS_WIN
QgsMessageLog::logMessage( "SVG PATHS: " + QgsApplication::svgPaths().join( ';' ), QStringLiteral( "Server" ), Qgis::Info );
#else
QgsMessageLog::logMessage( "SVG PATHS: " + QgsApplication::svgPaths().join( ':' ), QStringLiteral( "Server" ), Qgis::Info );
#endif

QgsApplication::createDatabase(); //init qgis.db (e.g. necessary for user crs)

0 comments on commit dbc6463

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