Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qbs compile for Android
Forum Updated to NodeBB v4.3 + New Features

Qbs compile for Android

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
1 Posts 1 Posters 520 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    kDohmen
    wrote on last edited by
    #1

    Hello,

    I tried to compile an Android project with Qbs. I just created a QtQuick Controls 2 project in QtCreator, changed CppApplication to DynamicLibrary and added

    architectures: ["armv7a"]
    .
    .
    .
    }
    AndroidApk {
        name: "AndroidTest"
        manifestFile: ""
        Depends {
            productTypes: [
                "android.nativelibrary"
                ]
            }
        }
    }
    

    Then I created a android profile with qbs-setup-android, named Android and added the Android.ndk.abi value (because qbs told me to).
    When running qbs build profile:Android I get the error type_traits: No such file or directory.
    What am I missing?

    My Setup:
    Manjaro Linux
    Qt 5.9.1 (armv7a) [from yaourt]
    Qbs 1.8.1
    Android Ndk 10e (using GCC 4.9) [from yaourt]

    PS: Qt and the Ndk is installed properly. With qmake I can compile the project.

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved