Results 1 to 2 of 2

Thread: Android ARM vs Android x86 in qmake .pro file

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    May 2011
    Location
    Zaragoza
    Posts
    5
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: Android ARM vs Android x86 in qmake .pro file

    Easy, in this way:
    Qt Code:
    1. android {
    2.  
    3. equals(ANDROID_TARGET_ARCH, armeabi-v7a) {
    4. [doAndroidArmStuff]
    5. }
    6. equals(ANDROID_TARGET_ARCH, armeabi) {
    7. [doAndroidArmeabiStuff]
    8. }
    9. equals(ANDROID_TARGET_ARCH, x86) {
    10. [doAndroidx86Stuff]
    11. }
    12. }
    To copy to clipboard, switch view to plain text mode 
    regards
    dani
    Last edited by anda_skoa; 12th May 2014 at 10:27. Reason: missing [code] tags

  2. The following user says thank you to danipellex for this useful post:

    sedi (12th May 2014)

Similar Threads

  1. Replies: 4
    Last Post: 10th July 2014, 15:22
  2. how to use android api?
    By Mr A in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 24th March 2014, 10:19
  3. How could I include new jar file on android?
    By stereoMatching in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 31st December 2013, 17:15
  4. How do you make android applications display correctly on android phone?
    By Cyrebo in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 17th August 2013, 07:31
  5. is android app with qt 5.1 just compatible with android 4 ?
    By solook in forum Qt for Embedded and Mobile
    Replies: 5
    Last Post: 14th August 2013, 16:23

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.