Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

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

    Mobile and Embedded
    1
    2
    523
    Loading More Posts
    • 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.
    • mbruel
      mbruel last edited by

      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 Reply Quote 0
      • mbruel
        mbruel last edited by

        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 Reply Quote 0
        • First post
          Last post