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. Include openssl source in qt project
Forum Updated to NodeBB v4.3 + New Features

Include openssl source in qt project

Scheduled Pinned Locked Moved Unsolved General and Desktop
6 Posts 3 Posters 1.6k Views 2 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.
  • M Offline
    M Offline
    msauer75
    wrote on 15 Jul 2019, 15:37 last edited by
    #1

    Hi,
    I want to include the openssl source in my qmake qt project. The project should compile the openssl libraries at compile time.
    I have to crosscompile my project for android and windows. On both system I will get problems with missing openssl libraries, so I want to include the sources direct in my qt project.

    Thank you for your help.
    BR
    martin

    J 1 Reply Last reply 16 Jul 2019, 04:38
    0
    • K Offline
      K Offline
      Kent-Dorfman
      wrote on 15 Jul 2019, 17:31 last edited by
      #2

      there is no question in your post...and please don't ask "how do I include ssl source in my project for all my platforms?" Have you googled relevant topics? there should be much already online addressing how to compile or link with openssl.

      M 1 Reply Last reply 18 Jul 2019, 15:15
      0
      • M msauer75
        15 Jul 2019, 15:37

        Hi,
        I want to include the openssl source in my qmake qt project. The project should compile the openssl libraries at compile time.
        I have to crosscompile my project for android and windows. On both system I will get problems with missing openssl libraries, so I want to include the sources direct in my qt project.

        Thank you for your help.
        BR
        martin

        J Offline
        J Offline
        jsulm
        Lifetime Qt Champion
        wrote on 16 Jul 2019, 04:38 last edited by
        #3

        @msauer75 You should use subdirs project structure like https://riptutorial.com/qt/example/16535/subdirs-example and put OpenSSL as subdir generating a lib which is then referenced in places.

        https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        4
        • K Kent-Dorfman
          15 Jul 2019, 17:31

          there is no question in your post...and please don't ask "how do I include ssl source in my project for all my platforms?" Have you googled relevant topics? there should be much already online addressing how to compile or link with openssl.

          M Offline
          M Offline
          msauer75
          wrote on 18 Jul 2019, 15:15 last edited by
          #4

          @Kent-Dorfman

          Sorry for the bad post. I searched on google, but I can't find postings which are solved my problem.

          1 Reply Last reply
          0
          • K Offline
            K Offline
            Kent-Dorfman
            wrote on 18 Jul 2019, 15:53 last edited by
            #5

            Upon re-reading your post I think you would do better to separate the tasks out as

            1. building/installing ssl on the target platform
            2. building it for cross compile on the dev host
            3. and then linking against the cross compiled libs in your qt project.

            Trying to build a cross compiled ssl packaged on every qt build seems friviluos and overly complex.

            https://stackoverflow.com/questions/14681012/how-to-include-openssl-in-a-qt-project should help with step 3.

            M 1 Reply Last reply 19 Jul 2019, 14:29
            2
            • K Kent-Dorfman
              18 Jul 2019, 15:53

              Upon re-reading your post I think you would do better to separate the tasks out as

              1. building/installing ssl on the target platform
              2. building it for cross compile on the dev host
              3. and then linking against the cross compiled libs in your qt project.

              Trying to build a cross compiled ssl packaged on every qt build seems friviluos and overly complex.

              https://stackoverflow.com/questions/14681012/how-to-include-openssl-in-a-qt-project should help with step 3.

              M Offline
              M Offline
              msauer75
              wrote on 19 Jul 2019, 14:29 last edited by
              #6

              @Kent-Dorfman
              In Qt 5.12.4 is openssl 1.1.1 included. Do you know, how I use this version or compile the libs?

              1 Reply Last reply
              0

              1/6

              15 Jul 2019, 15:37

              • Login

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