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
Forum Updated to NodeBB v4.3 + New Features

android specified library

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
4 Posts 4 Posters 432 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 23 Dec 2019, 16:03 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 23 Dec 2019, 17:56
    0
    • A addr3ss
      23 Dec 2019, 16:03

      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 23 Dec 2019, 17:56 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 3 Jan 2020, 13:39 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 13 Jan 2020, 08:32
        0
        • N nataliejohn
          3 Jan 2020, 13:39
          • 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 13 Jan 2020, 08:32 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