Skip to content
Permalink
Browse files
Export main() when building for android
  • Loading branch information
m-kuhn committed Sep 1, 2016
1 parent c2c083a commit d130b32
Showing 1 changed file with 5 additions and 0 deletions.
@@ -400,6 +400,11 @@ void myMessageOutput( QtMsgType type, const char *msg )
}
}

#if(ANDROID)
// On Android, there there is a libqgis.so instead of a qgis executable.
// The main method symbol of this library needs to be exported so it can be called by java
APP_EXPORT
#endif
int main( int argc, char *argv[] )
{
#ifdef Q_OS_MACX

0 comments on commit d130b32

Please sign in to comment.