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 2b6efe5
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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.