Skip to content

Commit 427e5e9

Browse files
committed
Fix android build
1 parent 4a27e30 commit 427e5e9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/core/qgsapplication.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -787,6 +787,8 @@ QString QgsApplication::userFullName()
787787
//fall back to login name
788788
if ( sUserFullName.isEmpty() )
789789
sUserFullName = userLoginName();
790+
#elif defined(Q_OS_ANDROID)
791+
sUserFullName = "Not available";
790792
#else
791793
struct passwd *p = getpwuid( getuid() );
792794

0 commit comments

Comments
 (0)