Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Using openssl toolkit included in Qt 5.12.4

Using openssl toolkit included in Qt 5.12.4

Scheduled Pinned Locked Moved Solved General and Desktop
6 Posts 3 Posters 920 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
    msauer75
    wrote on last edited by
    #1

    Hi,
    I want to use the openssl toolkit, which is in Qt 5.12.4 included, in my qt project, to compile the required libs for linux, android, windows.
    How do I use this toolkit?

    Thank you for your help.

    BR
    martin

    K 1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Your question is not clear. Do you mean you want to be able to use, for example, QNetworkAccessManager with SSL enabled endpoints ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • M msauer75

        Hi,
        I want to use the openssl toolkit, which is in Qt 5.12.4 included, in my qt project, to compile the required libs for linux, android, windows.
        How do I use this toolkit?

        Thank you for your help.

        BR
        martin

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

        @msauer75

        openssl toolkit is not part of Qt 5.12.4 since you install it separately. The libs are generic for different Qt lib versions. You can link as usual to your application (e.g. LIBS parameter in .pro https://doc.qt.io/qt-5/qmake-variable-reference.html#libs )
        At least that is what I see under windows. In linux distros I guess it is the same or you have toinstall openssl libs separately.

        For Android it depends where you are doing your compilation. If you are not compiling on an Android device you are basically doing a cross-compile. Therefore, you probably need to cross-compile openssl libs with the appropriate toolchain.
        https://doc.qt.io/qt-5/android-openssl-support.html

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

        1 Reply Last reply
        2
        • M Offline
          M Offline
          msauer75
          wrote on last edited by
          #4

          Hi,

          I want to cross compile for android und windows on my linux mint. So I think I can add the source code of the openssl toolkit directly to my qt project as subproject. So I don't have to cross compile the openssl libs extra.

          Br
          martin

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            Here you have the instructions for building OpenSSL for Android and use it in a Qt application.

            As for Windows, the OpenSSL project links to several sources of pre-built version available for the various compilers available on Windows.

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            0
            • M Offline
              M Offline
              msauer75
              wrote on last edited by
              #6

              Ok. Now it works in android.

              Thx

              Br
              Martin

              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