Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. No ANDROID_TARGET_ARCH set in make spec (qt 5.2.0, Qt Creator 2.8.1, Mac OS X 10.9)
Qt 6.11 is out! See what's new in the release blog

No ANDROID_TARGET_ARCH set in make spec (qt 5.2.0, Qt Creator 2.8.1, Mac OS X 10.9)

Scheduled Pinned Locked Moved Mobile and Embedded
2 Posts 2 Posters 2.6k Views 1 Watching
  • 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.
  • M Offline
    M Offline
    mirkunmies
    wrote on last edited by
    #1

    Hey all,

    I followed the instructions on: http://qt-project.org/wiki/Qt5ForAndroidBuilding
    to build qt5 for android development on my mac. When in Qt Creator 2.8.1 I build my project, everything works fine, but when I try to run it (I have an emulator64-arm running) I get:

    Cannot create Android package: No ANDROID_TARGET_ARCH set in make spec.
    Error while building/deploying project accelbubble (kit: Android for arm (GCC 4.8, Qt 5.2.0))
    When executing step 'Packaging for Android'

    I also tried to build and run the project in Qt Creator 2.8.2. The building goes fine, but the play button to run is grayed out (the hammer is not, however).

    I tried setting ANDROID_TARGET_ARCH to armeabi in my build environment but this didn't help. Any thoughts would be appreciated!

    1 Reply Last reply
    0
    • M Offline
      M Offline
      MaxL
      wrote on last edited by
      #2

      http://blog.qt.digia.com/blog/2013/10/09/android-deployment-in-qt-5-2/

      Should be included in Qt 3.0 but it doesn't seem that it is yet.

      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