[QBS] Support for Qt on Android
salatix at web.de
salatix at web.de
Thu Sep 15 15:49:20 CEST 2016
I am building on linux. I also tried setting up the toolchain with qbs-setup-toolchains but it would not detect the android toolchain. So I tried to configure it in the qbs-config-ui but it didn't help either because I still got the error of the missing armv5 profile (which does not make any sense to me because I am using armv7...).
In Qt Creator the profile looks fine to me and the profile it refers to actually exists in $HOME/.config/QtProject/qbs/ but as I soon as QtC tries to parse the qbs it is looking for an armv5 profile which does not exist. The issue is similiar to one of the bugs Jake referred to https://bugreports.qt.io/browse/QBS-881.
Were you able to parse a qbs project with your profile for qt on Android?
Thanks for helping with my problem :)
> Gesendet: Donnerstag, 15. September 2016 um 02:07 Uhr
> Von: "Chris Gagneraud" <chgans at googlemail.com>
> An: salatix at web.de
> Cc: "Jake Petroules" <Jake.Petroules at qt.io>, "qbs at qt-project.org" <qbs at qt-project.org>
> Betreff: Re: [QBS] Support for Qt on Android
> > QtCreator manage its own Qbs profiles, that you cannot (easily) re-use
> > "manually".
> > Have you try to run "qbs setup-toolchain" and see if it picks up the
> > android one?
> I've just tried here, after installing all Android, Java and Qt
> packages and selecting an android kit, QtC tells me:
> Cannot find the android build step.
> Error while building/deploying project XYZ (kit: Android for
> armeabi-v7a (GCC 4.9, Qt 5.7.0))
> When executing step "Deploy to Android device"
> Tools->Options->Qbs seems to be setup correctly
> (cpp.toolchainInstallPath/Prefix points to my Android NDK toolchain)
> I had a quick go at setting up the toolchain manually with
> qbs-setup-toolchain, but it refuses to detect the toolchain....
> Anyway, your problem seems to be different since your associated Qbs
> profile look corrupted/missing.
> Which platform are you building on?
> On Linux, QtC profiles are stored under $HOME/.config/QtProject/qtcreator/qbs
> Whereas your "regular" qbs profiles are stored under
More information about the Qbs