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

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 900 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.
  • M Offline
    M Offline
    mbruel
    wrote on 27 Jan 2021, 20:44 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
    • M Offline
      M Offline
      mbruel
      wrote on 27 Jan 2021, 21:17 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

      1/2

      27 Jan 2021, 20:44

      • Login

      • Login or register to search.
      1 out of 2
      • First post
        1/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved