Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. .profile config for different android architecture

.profile config for different android architecture

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 176 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.
  • V Offline
    V Offline
    vudangkhoa2906
    wrote on last edited by
    #1

    in my app, I use an external library, and I have two .so file, one built for arm 32 bit arch, and one for arm 64 bit

    normally, i just build the 32bit apk, since in work with 64 bit as well
    and my .pro file would look like this

    android {
    # the 32 .so file
    ANDROID_EXTRA_LIBS += $$PWD/lib/libopenssl.so
    }

    now, how could i specify the .profile so it can use corresponding .so file for different kit
    something like
    android-armeabi-v7a {
    # the 32 .so file
    ANDROID_EXTRA_LIBS += $$PWD/lib/libopenssl.so
    }
    android-arm64-v8a {
    # the 64 .so file
    ANDROID_EXTRA_LIBS += $$PWD/lib64/libopenssl.so
    }

    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