[QGIS Commit] r13679 - trunk/qgis/src/app
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Mon Jun 7 11:16:18 EDT 2010
Author: jef
Date: 2010-06-07 11:16:17 -0400 (Mon, 07 Jun 2010)
New Revision: 13679
Modified:
trunk/qgis/src/app/main.cpp
Log:
(visibly) complain about missing $DISPLAY
Modified: trunk/qgis/src/app/main.cpp
===================================================================
--- trunk/qgis/src/app/main.cpp 2010-06-07 13:01:59 UTC (rev 13678)
+++ trunk/qgis/src/app/main.cpp 2010-06-07 15:16:17 UTC (rev 13679)
@@ -469,9 +469,11 @@
#endif
if ( !myUseGuiFlag )
{
- QgsDebugMsg( "QGIS starting in non-interactive mode not supported.\n You "
- "are seeing this message most likely because you have no DISPLAY "
- "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 "
+ "have no DISPLAY environment variable set.\n"
+ ).toUtf8().constData();
exit( 1 ); //exit for now until a version of qgis is capabable of running non interactive
}
QgsApplication myApp( argc, argv, myUseGuiFlag );
More information about the QGIS-commit
mailing list