Skip to content
Permalink
Browse files
Flag to allow usage of QGIS server with an x-server (vector pdf outpu…
…t for patterns)
  • Loading branch information
marco committed Nov 14, 2011
1 parent 9130baf commit 2b6efe5c7a957cbaae21af83840c8b45237a5882
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/mapserver/qgis_map_serv.cpp
@@ -148,7 +148,7 @@ int main( int argc, char * argv[] )
qInstallMsgHandler( dummyMessageHandler );
#endif

QgsApplication qgsapp( argc, argv, false );
QgsApplication qgsapp( argc, argv, getenv( "DISPLAY" ) );

//Default prefix path may be altered by environment variable
char* prefixPath = getenv( "QGIS_PREFIX_PATH" );

0 comments on commit 2b6efe5

Please sign in to comment.