mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-14 00:07:35 -04:00
Export main() when building for android
This commit is contained in:
parent
88047cc984
commit
ffe358179e
@ -417,6 +417,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
|
||||
|
Loading…
x
Reference in New Issue
Block a user