[QBS] Build android apk project

Jicquel Dorian dorian.jicquel at mana-sys.fr
Wed Jul 8 17:08:34 CEST 2015


Hi,
I'm currently trying to build an apk with qbs using newly introduced 
AndroidApk module with last qt for android (5.5.0) with gcc 4.9 (arch 
armv7) qt creator 3.4.2 (qbs 1.4.1 ?)
For this i'm refering to the example given in Android.ndk documentation

import qbs

Project {
     DynamicLibrary {
         name:"testlib"
         architectures:["armeabi-v7a"]
         files:["*.cpp","*.h","*.ui"]
     }

     AndroidApk {
         name:"test"
         packageName:"com.example.test"
         Depends { productTypes:["android.nativelibrary"]  }
     }
}

While parsing the qbs file i have an error :  "The profile 
'qtc_Android__e4c51253_armeabi-v7a' does not exist."
And when i check in my qt profiles in 
"C:\Users\MYUSER\AppData\Roaming\QtProject\qtcreator\qbs\profiles" there 
is no qtc_Android__e4c51253_armeabi-v7a folder but just 
qtc_Android__e4c51253 without abi
when i set architectures:[""] the profile become 
"qtc_Android__e4c51253_" and is  still not good because an underscore is 
still added to the profile name.
Did i missed something  ?
Thanks in advance,
Dorian.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qbs/attachments/20150708/347057f0/attachment.html>


More information about the Qbs mailing list