Unsolved How to install MySQL on Android?
-
Yes. How i understood it's for Windows 32-86
-
You need to cross-compile these dependencies for Android.
-
@SGaist
I managed to do itRANLIB = "$ BR" ranlib CC = "$ BR" gcc . / Configure android - armv7 - prefix = $ SR / usr
But, when i do
ANDROID_DEV = $ SR / usr make
I get an error.
-
Where is stdlib.h in your computer ?
-
I could not find this file
-
That might be something coming from your ndk or rather how it is used.
Currently, Qt recommends an older version, you might want to try it. See the Android Getting Started guide in Qt's documentation.
-
Ok, I will now reinstall and Qt and NDK
-
No need to re-install Qt, just get the NDK, you can have several installed if you want as long as you use the right one.
Just be aware that the Android folks have a tendency to change stuff from one version of the NDK to the other that might be breaking stuff in other projects.
-
OS Windows 7 x32/x86
Qt 5.10I install:
1). NDK 10e
2). JDK 8, because the JDK output errors
I install LIBICONV and OPENSSL
But when i wanna dobzr branch lp:mariadb-native-client
cd maria-native-clienthen the command line displays the following
Article: https://wiki.qt.io/Build_Qt_5_MySQL_Plugin_for_Android
-
@Rovshan Looks like you need to install http://bazaar.canonical.com/en/ first
-
@SGaist i don't know really , why qt does't give a clear doc to describe how to build mysql static driver step by step for android and windows. (vs2017 or mingw)
i googled long time still can't get a success resolve. -
Because their's no reason for that on android as is it's no an officially supported platform by the MySQL folks.
As for Windows, there are already instructions. As for static, it's always the same: if you want full static builds, provide full static dependencies. And also be prepared to abide by the LPGL rules.