We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent e87f79d commit e703bdfCopy full SHA for e703bdf
src/core/qgsapplication.cpp
@@ -139,6 +139,12 @@ void QgsApplication::init( QString customConfigPath )
139
{
140
#if defined(Q_WS_MACX) || defined(Q_WS_WIN32) || defined(WIN32)
141
setPrefixPath( applicationDirPath(), true );
142
+#elif defined(ANDROID)
143
+ // this is "/data/data/org.qgis.qgis" in android
144
+ QDir myDir( QDir::homePath() );
145
+ myDir.cdUp();
146
+ QString myPrefix = myDir.absolutePath();
147
+ setPrefixPath( myPrefix, true );
148
#else
149
QDir myDir( applicationDirPath() );
150
myDir.cdUp();
0 commit comments