Hi there,
so I wanted to deploy my game to android and I got this error message “ QApplication no such file or directory“. I installed everything that was required, at least I think so. When I went through the forum, I saw that most of the time this error occurred, when the Qt version was the wrong one. But I believe I have Qt 5.8 for everything.
D:\Documents\VPlay\TheLastUnicorn\TheLastUnicorn\main.cpp:1: error: QApplication: No such file or directory
#include <QApplication>
^
After installing a couple of versions of Qt ( I had 5.6 before) this warning appeared.
:-1: warning: “D:\Programs\AndroidNDK\android-ndk-r14\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x86_64\bin\arm-linux-androideabi-gcc” is used by qmake, but “D:\Programs\AndroidNDK\android-ndk-r14\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x86_64\bin\arm-linux-androideabi-gcc.exe” is configured in the kit.
Please update your kit or choose a mkspec for qmake that matches your target environment better.
On top of that there appears a warning in Options -> “Devices” -> “android”: “Qt versions for 3 architectures missing” but it doesn’t state which one’s – so it’s kind of hard for me to add them.
It would be great if you could help me!
Thanks,
Carla