Skip to content

Commit 3d8a289

Browse files
committed
added debug messages
1 parent 9642ada commit 3d8a289

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/app/main.cpp

+3-1
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,8 @@ void myMessageOutput( QtMsgType type, const char *msg )
181181

182182
int main( int argc, char *argv[] )
183183
{
184+
qDebug("running qgis main");
185+
QgsDebugMsg( QString( "running qgis main" ) );
184186
#ifdef WIN32 // Windows
185187
#ifdef _MSC_VER
186188
_set_fmode( _O_BINARY );
@@ -395,7 +397,7 @@ int main( int argc, char *argv[] )
395397
{
396398
myProjectFileName = QDir::convertSeparators( QFileInfo( QFile::decodeName( argv[++i] ) ).absoluteFilePath() );
397399
}
398-
else if ( i + 1 < argc && ( arg == "--extent" || arg == "-e" ) )
400+
else if ( i + 1 < argQgsDebugMsgc && ( arg == "--extent" || arg == "-e" ) )
399401
{
400402
myInitialExtent = argv[++i];
401403
}

src/app/qtmain_android.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,6 @@ Q_DECL_EXPORT jint JNICALL JNI_OnLoad(JavaVM* vm, void* /*reserved*/)
166166
return -1;
167167
}
168168
m_javaVM = vm;
169-
__android_log_print(ANDROID_LOG_INFO,"Qt", "JNI OK");
169+
__android_log_print(ANDROID_LOG_INFO,"Qt", "JNI_OnLoad OK");
170170
return JNI_VERSION_1_4;
171171
}

0 commit comments

Comments
 (0)