I think that was exactly my problem. I fool read the known issues page and 
noticed the recommendation for the r10e ndk, because of the bug in r11. But I 
thought that newer ndk are not affected and I expected a compile error, instead 
of the runtime error.
Apparently the bug doesn't show up in every build. With the same ndk I built 
5.7.1 and 5.8.0-rc1 which worked. Then pulled 5.8 back again and now even this 
build runs well.

Thank you for your help!

-----Original Message-----
From: Interest [mailto:interest-bounces+c.wassmuth=oculus...@qt-project.org] On 
Behalf Of Eskil Abrahamsen Blomfeldt
Sent: Thursday, January 05, 2017 10:11 AM
To: interest@qt-project.org
Subject: Re: [Interest] Android: This application failed to start because it 
could not find or load the Qt platform plugin "android"

Hi,

In Android NDK r11 and up there is a bug in GCC which causes this to happen, so 
in order to compile Qt, you have to use Android NDK r10e. 
Since Google has deprecated GCC now, they do not intend to fix this problem, 
but their replacement, clang, currently creates too large binaries to be usable 
for us. They are looking into this problem, though. You can follow and join the 
discussion here: 
https://github.com/android-ndk/ndk/issues/67

Also, see known issues in Android here: 
https://wiki.qt.io/Qt_for_Android_known_issues

--
Eskil Abrahamsen Blomfeldt
Senior Manager, R&D

The Qt Company
Sandakerveien 116
0484 Oslo, Norway
eskil.abrahamsen-blomfe...@qt.io
http://qt.io

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to