Skip to content

Commit 2b6efe5

Browse files
author
marco
committedNov 14, 2011
Flag to allow usage of QGIS server with an x-server (vector pdf output for patterns)
1 parent 9130baf commit 2b6efe5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/mapserver/qgis_map_serv.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ int main( int argc, char * argv[] )
148148
qInstallMsgHandler( dummyMessageHandler );
149149
#endif
150150

151-
QgsApplication qgsapp( argc, argv, false );
151+
QgsApplication qgsapp( argc, argv, getenv( "DISPLAY" ) );
152152

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

0 commit comments

Comments
 (0)
Please sign in to comment.