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. android specified library
Qt 6.11 is out! See what's new in the release blog

android specified library

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
4 Posts 4 Posters 550 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.
  • A Offline
    A Offline
    addr3ss
    wrote on last edited by
    #1

    How can I add a library only in android builds and use for every arch its specified library?(qmake - qt 5.12)

    K 1 Reply Last reply
    0
    • A addr3ss

      How can I add a library only in android builds and use for every arch its specified library?(qmake - qt 5.12)

      K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      @addr3ss

      For instance as done in this post https://stackoverflow.com/questions/18104716/how-to-specify-libraries-only-for-android-platform-build-in-pro-file

      or

      android-*:{
      CONFIG(debug, debug|release):{
          LIBS += -L$$PWD -lMyLibD
          }
      CONFIG(release, debug|release):{
          LIBS += -L$$PWD -lMyLib
          }
      }
      
      

      Vote the answer(s) that helped you to solve your issue(s)

      1 Reply Last reply
      2
      • N Offline
        N Offline
        nataliejohn
        wrote on last edited by
        #3
        • Open the module-level build.gradle file.
        • Delete the line for the applicationId. Only an Android app module can define this.
          error.PNG
        G 1 Reply Last reply
        0
        • N nataliejohn
          • Open the module-level build.gradle file.
          • Delete the line for the applicationId. Only an Android app module can define this.
            error.PNG
          G Offline
          G Offline
          GoldenSeahorse
          wrote on last edited by
          #4

          @nataliejohn said in android specified library:

          • Open the module-level build.gradle file.
          • Delete the line for the applicationId. Only an Android app module can define this.
            error.PNG

          Thanks for the great feedback.

          www.mywegmansconnect.com

          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