I installed Qt-5.1.0-rc1-android on linux and added all of the available Qt versions in the Build & Run tab in QtCreator (that are android_armv7, android_x86 and gcc_64).
But the Creator keeps telling me Qt version for architecture mips is missing, to add the Qt version, select Options > Build & Run > Qt Versions..
Is there some dependency missing I don't know about?
Prefer setup android NDK in Android settings category, after that required Kits will be added automatically. But I'm not sure that Qt 5.1.0 for android contains mips images too. If it doesn't, you should build Qt for mips manually.
Because of missing support for MIPS in the JavaScript engine used in QtQuick 2, there is no binary package for that architecture.
If your app does not require Qt Quick 2, you can build Qt manually for MIPS. If you require Qt Quick 2 for MIPS, unfortunately the only solution right now is to build from the dev repository (which is under active development and not as stable) or wait for Qt 5.2, where this problem should be fixed.
If your app does not require MIPS support, you can safely ignore the warning in Qt Creator.
Related
I am trying to setup Qt so that I can build & deploy from my Windows 10 machine, to an Android tablet.
However from Tools>Options>Kits>Qt Versions... I get "No compiler can produce code for this Qt version. Please define one or more compilers for x86-linux-android-elf-32bit".
(or instead of 'x86-linux...' it says 'arm-linux-android-elf-32bi't or 'arm-linux-android-elf-64bit', depending on the Qt version I have selected in this window).
Do I need to manually add C and C++ compilers for the Android SDK/NDK to Qt? Where would I find these?
I have installed:
Qt: 5.12.0
Qt Creator: 4.7.0 (Community)
Android SDK: 3.2.1 64-bit Windows.
Android NDK: r18b Windows 64-bit.
Java JDK: Java SE Development Kit 8u191
From Qt Maintenance tool, Installed Qt 5.12.0 for Android x86, ARM64-v8a, ARMv7:
Within Qt Creator Tools>Options>Devices>Android I have set the paths of the JDK, SDK, & NDK and run "Update Installed":
If I go to Tools>Options>Kits>Qt Versions I see several versions, each is missing a compiler (compiler varies based on version):
But in Compilers, here is all I see:
In looking through the NDK I did see these, are these related to what I am looking for?:
When I update my QtCreator(community) from 4.7.1 to 4.9.1, everything is ok.
I installed Qt 5.11.2(http://download.qt.io/official_releases/qt/5.11/5.11.2/qt-opensource-windows-x86-5.11.2.exe) to build an Android app. Qt creator auto-detects 3 Qt versions:
Qt 5.11.2 for Android ARMv7,
Qt 5.11.2 for Android x86,
Qt 5.11.2 MinGW 32bit.
I think they are all 32 bit.
But when I created a project, in the "select Kits" step, it says "Android has not been configured. Create Android kits.". When I clicked the "configure" button, in Device/Android, it says "Cannot create kits for all architectures. Qt versions are missing for the following architectures: arm-linux-android-elf-64bit, x86-linux-android-elf-64bit. To add the Qt version,select Options > Build&Run > Qt Versions". But I do not want to build the 64 bit app. I just want to build the 32bit app using the existing Qt versions. How to bypass this error and build a 32bit Android app? I wonder why it refers to the 64 bit architectures, just because the 32 bit qt is installed on 64 bit machine?
I have just installed Qt 5.9.1 and want to make an app for Android (I'm using Windows 10).
I have installed the SDK, NDK and ant and specified the paths in the configuration. But Qt gives the following warning:
Qt versions for 6 architectures are missing. To add the Qt versions,
select Options > Build & Run > Qt Versions
When I go to Qt Versions I can only see Qt 5.9.1 MinGW 32bit.
I've googled this and a solution to a similar issue was to download the Android version of Qt from the Qt download page:
But that Android version is only 5.6. I'm gonna use Qt Quick Controls 2, which is not available until version 5.7, according to this:
Qt Quick Controls 2 provides a set of controls that can be used to
build complete interfaces in Qt Quick. The module was introduced in Qt
5.7.
Does anyone know what is causing this? Is there some other way I can get the files needed to build for Android and keep Qt version 5.9?
I added the Android NDK to QT Creator and it's showing an error stating "QT Versions for architectures arm, x86, mips are missing"
When clicking on "add" in the Build & run > QT version tab, it seems to be looking for a file.
Any ideas where to find the file?
If I good understood, your QT version can not find qmake for armv7, mips ? If is true you need toolchain each provided qmake for concret architekture. Example for armv7 completly toolchain is from Angstrom. Then you must define device , say your qt path to cross compiler, and SysRoot then yor QtVersion is be actived and you can develop program for concret platform. Angstrom complet toolchain you can find here:
https://4fe835f16ae6b3c2724bb430809c585acf3bdc3c.googledrive.com/host/0B3Z340LOBulvMG5NRmNlZEppSEE/
When I installed Qt for Android it came with a kit for x86 and the 32-bit ARM ABIs, but no 64-bit ones. I noticed the Android NDK does contain the AArch64 and x86_64 compilers. Does Qt not support the newer architectures or is there a way in which I can build a Qt kit for these architectures myself?
This limitation are in the past now, use Qt 5.12 or above and you will can do it...
Source: https://doc-snapshots.qt.io/qt5-5.12/android-platform-notes.html
Qt does not seem to come pre-compiled for Android x86_64 (see the "Qt Versions" tab to check it out). However, this page of the wiki seems to explain how to build Qt for Android, giving you the opportunity to make the Android x86_64 version by yourself, if it supports it.