Skip to content

Commit

Permalink
Flag to allow usage of QGIS server with an x-server (vector pdf outpu…
Browse files Browse the repository at this point in the history
…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.
2 changes: 1 addition & 1 deletion src/mapserver/qgis_map_serv.cpp
Expand Up @@ -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" );
Expand Down

0 comments on commit 2b6efe5

Please sign in to comment.