We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7494c8f commit 15c1482Copy full SHA for 15c1482
src/app/main.cpp
@@ -469,9 +469,11 @@ int main( int argc, char *argv[] )
469
#endif
470
if ( !myUseGuiFlag )
471
{
472
- QgsDebugMsg( "QGIS starting in non-interactive mode not supported.\n You "
473
- "are seeing this message most likely because you have no DISPLAY "
474
- "environment variable set." );
+ std::cerr << QObject::tr(
+ "QGIS starting in non-interactive mode not supported.\n"
+ "You are seeing this message most likely because you "
475
+ "have no DISPLAY environment variable set.\n"
476
+ ).toUtf8().constData();
477
exit( 1 ); //exit for now until a version of qgis is capabable of running non interactive
478
}
479
QgsApplication myApp( argc, argv, myUseGuiFlag );
0 commit comments