We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 586b642 commit eae0f29Copy full SHA for eae0f29
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