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 with Cmake, how to add openssl libs ("Additional Libraries" is not available)
QtWS25 Last Chance

Android with Cmake, how to add openssl libs ("Additional Libraries" is not available)

Scheduled Pinned Locked Moved Solved Mobile and Embedded
2 Posts 1 Posters 861 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.
  • mbruelM Offline
    mbruelM Offline
    mbruel
    wrote on last edited by
    #1

    Hi,
    I've just updated to QtCreator 4.14.0 on my Debian and it was quite a struggle... (issue with libxcb-util1, the version of Cmake and to update it in my Kits, I finally clone my existing ones.... then with my NDKs)

    Anyway, I managed to compile my projects as before.

    I'm working on a project built with Cmake and I just need to include openssl libraries.
    How can I do that? I know how to do it in a qmake project by including openssl.pri in the pro file but what is the equivalent on QMake?

    In the build screen I can't add additional libs directly within QtCreator :'(
    alt text

    Thanks in advance for the help, I'm sure it's an easy trick in the CMakeLists.txt

    1 Reply Last reply
    0
    • mbruelM Offline
      mbruelM Offline
      mbruel
      wrote on last edited by
      #2

      alright, just needed to add this in the CMakeLists.txt: include(<path/to/android_openssl/CMakeLists.txt) (cf here) and re-run cmake

      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