qt.qpa.plugin: Could not find the Qt platform plugin "android" in ""
-
I need to run a wrapper of library in an Android studio which processes XML and creates a set of images. This library is quite large and reliable. Now I just only need to call her from an application written in Kotlin - Android studio.
The problem is that fonts do not work without calling the QGuiApplication constructor. However, the generated images contain texts.
But when calling QtGuiApplication, the application constructor crashes and prints:
2019-06-11 14:26:16.483 24919-24919/cz.cdis.nativetest W/APP: qt.qpa.plugin: Could not find the Qt platform plugin "android" in ""
2019-06-11 14:26:16.483 24919-24919/cz.cdis.nativetest A/APP: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.Probably missing the way to where the plugins are located.
And I don't know how to set it up.