![]() Configure Qt and skip unsupported modules:.On Linux, a good place to do this is at the end of ~/.profile:Įxport JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 export PATH=$PATH:$JAVA_HOME/bin You need to set JAVA_HOME and add JAVA_HOME/bin to your PATH. ![]() Optionally checkout target Qt version to use.Git clone git://code.qt.io/qt/qt5.git qt5 cd qt5 If you're on a 64 bit Ubuntu/Debian, you may also need to install a 32-bit runtime environment:.Alternatively, OpenJDK can be used on Linux. Install a JDK whose version is at least 1.6.You can do this by checking the path-to-NDK/platforms directory. You need to make sure that the NDK supports the API level you're targeting.We recommend using the android-clang toolchain for compiling, in which case the latest NDK release should be preferred. r15 produces applications that fail with the error message 'This application failed to start because it could not find or load the Qt platform plugin "android"'. NDK r13 and r14 are also likely to have the same issues. This is because NDK r11, r12 and r15 are known to have issues with GCC. Important: If you are building Qt with the GCC toolchain (pre-Qt 5.12 only), you will need the Android NDK r10e.Qt 5.14.0 and 5.14.1 with NDK r21 might have a build issue that is solved at QTBUG-81461. Important: As of Qt 5.14, Qt 5.13.2+ and Qt 5.12.6+, the latest Android NDK (r20b or r21) is required.Important: For Qt 5.12., and Qt 5.13., Android NDK r19c is required.Important: from Qt 5.12 onwards, the GCC toolchains are no longer supported in the Android NDK.Important: for Qt 5.12 downwards, GCC toolchains are used and Android NDK r10e is required.You can build Qt applications against any API level you wish, As long as it is equal to or higher than 13. Note that this is only necessary for building Qt itself.Android API levels 10, 11 and 16 are required for QtBase.Android API level 18 is required to build QtBluetooth (from Qt 5.5 onwards). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |