Skip to content
Permalink
Browse files

added debug messages

  • Loading branch information
mbernasocchi committed Aug 16, 2011
1 parent 9642ada commit 3d8a2898b43d50faca3034b7e3e483841e5a6db2
Showing with 4 additions and 2 deletions.
  1. +3 −1 src/app/main.cpp
  2. +1 −1 src/app/qtmain_android.cpp
@@ -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 );
@@ -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];
}
@@ -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.
You can’t perform that action at this time.