Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Can't build for Android
Angelo13C last edited by Angelo13C
I am making an instant messaging app (open source) with Qt, now I want to do some test on my android device.
I've configured the Android SDK (28), Android NDK, OpenJDK
When I try to build the app, the qmake runs succesfully, but the make step doesn't.
This is the error Hastebin.com/ozebutodem.py
I can give you more info if you request
Here's the project: GitHub.com/Angelo13C/Ash-Messenger-Client/tree/Test
Hi and welcome to devnet,
What version of Qt are you using ?
What version of Qt Creator ?
On what platform ?
What version of the NDK ?
What version of the JDK ?
Hi, thanks :D
Qt 5.13.1 for Android ARM64-v8a
Qt Creator 4.11.0
The include related errors are a bit strange. It looks like you are including librairies in your code rather than headers. Am I misreading the logs ?
I have published the code on GitHub GitHub.com/Angelo13C/Ash-Messenger-Client/tree/Test, I am not including any library (Ash_Messenger_Client is the name of the application, it's not a library)
This post is deleted!
Maybe I've installed the SDK in the wrong way.. I have only installed the NDK, SDK and OpenJDK and I've put the path in the qt creator Devices/Android menu
I've found the problem..
Qt 5.12 has some problems with Precompiled Headers for Android only.. I switched to Qt 5.14, now it compiles correctly :D
Glad you found out and thanks for sharing !