Skip to content

Commit

Permalink
added debug messages
Browse files Browse the repository at this point in the history
  • Loading branch information
mbernasocchi committed Aug 16, 2011
1 parent 9642ada commit 3d8a289
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/app/main.cpp
Expand Up @@ -181,6 +181,8 @@ void myMessageOutput( QtMsgType type, const char *msg )

int main( int argc, char *argv[] )
{
qDebug("running qgis main");
QgsDebugMsg( QString( "running qgis main" ) );
#ifdef WIN32 // Windows
#ifdef _MSC_VER
_set_fmode( _O_BINARY );
Expand Down Expand Up @@ -395,7 +397,7 @@ int main( int argc, char *argv[] )
{
myProjectFileName = QDir::convertSeparators( QFileInfo( QFile::decodeName( argv[++i] ) ).absoluteFilePath() );
}
else if ( i + 1 < argc && ( arg == "--extent" || arg == "-e" ) )
else if ( i + 1 < argQgsDebugMsgc && ( arg == "--extent" || arg == "-e" ) )
{
myInitialExtent = argv[++i];
}
Expand Down
2 changes: 1 addition & 1 deletion src/app/qtmain_android.cpp
Expand Up @@ -166,6 +166,6 @@ Q_DECL_EXPORT jint JNICALL JNI_OnLoad(JavaVM* vm, void* /*reserved*/)
return -1;
}
m_javaVM = vm;
__android_log_print(ANDROID_LOG_INFO,"Qt", "JNI OK");
__android_log_print(ANDROID_LOG_INFO,"Qt", "JNI_OnLoad OK");
return JNI_VERSION_1_4;
}

0 comments on commit 3d8a289

Please sign in to comment.