Unsolved Android 64 bits SQLDrivers/OpenSSL
-
This post is deleted! -
Hi @SGaist and thank you,
My teacher's tutorial is in French :/ but here it is :
https://anonfile.com/Y5S8H8s3n1/Tuto_-_Compiler_QMySQL_pour_Android_pdf -
Why does that website try to make me open a .dmg file ?
-
@SGaist
I don't know, I tried it and it's the good file, which is a PDF btw.
Give me a website that you trust if you want ? Or maybe you need another format file ? -
Strange... This time it worked properly...
First thing, do you have a 64 Qt Android build ?
Also, ensure that you are using the NDK recommended in the Qt Android Getting Started guide matching the version you are using. -
I'm using Qt 5.12 with NDK r19c and JDK 1.8.
I have a 64 Qt Android build which work perfectly.
-
Good, then what error are you getting currently ?
-
Hey @SGaist,
Here is the first error I'm facing with : https://postimg.cc/jnQ695rn
Here is the config.log file : https://anonfile.com/v0V2N4senc/config_log -
Are you sure the path to the compiler is correct ?
On a side note, the latest Android NDK switched to clang, you might want to use that compiler.
-
Yes I would definetely want to use that compiler. If you could help me figure it out how to do it and what is needed to be change in the tutorial I have that would save my life.
-
Change the path you are using for the compiler to point to clang rather than gcc.
-
Which path on my tutorial do you think I need to change (I didn't went after ./configure --host=$platform_sort --prefix=$SR/usr --with-sysroot=$SR on step Iconv)
-
Change the
export CC="$BR"gcc
toexport CC="$BR"clang
and the CPP equivalent to point to clang++But first check in which folder you have clang located.
-
Yes that's what I'm trying to find but I can't find it I don't know why
-
Find what ? The clang executable ? If so, how are you searching it ? What version of the NDK are your using ?
-
@SGaist
I found it, i'm using NDK R19C -
I'm still getting the same error
-
Do you mean in the log ?
-
Yes, and same error 1 as in the screen
-
Did you try to manually compile something with your NDK (it should work but just in case) ?