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. Support openssl
Qt 6.11 is out! See what's new in the release blog

Support openssl

Scheduled Pinned Locked Moved Unsolved General and Desktop
25 Posts 3 Posters 21.3k Views 1 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #4

    Hi,

    You need to check that your version of OpenSSL was built with the same version of Visual Studio you are using to build Qt. Next, you need to also verify that it is the right architecture.

    Finally, don't forget the licensing implication of using a static build of Qt.

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

    RIVOPICOR 1 Reply Last reply
    0
    • RIVOPICOR Offline
      RIVOPICOR Offline
      RIVOPICO
      wrote on last edited by RIVOPICO
      #5
      This post is deleted!
      1 Reply Last reply
      0
      • RIVOPICOR Offline
        RIVOPICOR Offline
        RIVOPICO
        wrote on last edited by
        #6
        This post is deleted!
        1 Reply Last reply
        0
        • SGaistS SGaist

          Hi,

          You need to check that your version of OpenSSL was built with the same version of Visual Studio you are using to build Qt. Next, you need to also verify that it is the right architecture.

          Finally, don't forget the licensing implication of using a static build of Qt.

          RIVOPICOR Offline
          RIVOPICOR Offline
          RIVOPICO
          wrote on last edited by
          #7

          @SGaist Hi i download the openssl since here:
          http://www.npcglib.org/~stathis/blog/precompiled-openssl/#comment-71092

          And then i need to put the libs Mtd in qt folder or in vs folder?? thx

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

            There are 5 packages listed there, which one did you download ?

            Neither, put them somewhere where you can easily find them and update the name of the libraries you pass in OPENSSL_LIBS

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

            RIVOPICOR 1 Reply Last reply
            1
            • SGaistS SGaist

              There are 5 packages listed there, which one did you download ?

              Neither, put them somewhere where you can easily find them and update the name of the libraries you pass in OPENSSL_LIBS

              RIVOPICOR Offline
              RIVOPICOR Offline
              RIVOPICO
              wrote on last edited by RIVOPICO
              #9
              This post is deleted!
              1 Reply Last reply
              0
              • RIVOPICOR Offline
                RIVOPICOR Offline
                RIVOPICO
                wrote on last edited by
                #10

                Hi i get these errors:
                libeay32.lib(rand_win.obj) : error LNK2019: símbolo externo __imp__CreateCompatibleBitmap@12 sin resolver al que se hace referencia en la función _readscreen
                libeay32.lib(rand_win.obj) : error LNK2019: símbolo externo __imp__DeleteObject@4 sin resolver al que se hace referencia en la función _readscreen
                libeay32.lib(rand_win.obj) : error LNK2019: símbolo externo __imp__GetDeviceCaps@8 sin resolver al que se hace referencia en la función _readscreen
                libeay32.lib(rand_win.obj) : error LNK2019: símbolo externo __imp__GetDIBits@28 sin resolver al que se hace referencia en la función _readscreen
                libeay32.lib(rand_win.obj) : error LNK2019: símbolo externo __imp__GetObjectA@12 sin resolver al que se hace referencia en la función _readscreen
                debug\tst_qxmppcallmanager.exe : fatal error LNK1120: 5 externos sin resolver
                NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 12.0\VC\BIN\link.EXE"' : código devuelto '0x460'
                Stop.
                NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 12.0\VC\BIN\nmake.exe"' : código devuelto '0x2'
                Stop.
                NMAKE : fatal error U1077: 'cd' : código devuelto '0x2'
                Stop.
                NMAKE : fatal error U1077: 'cd' : código devuelto '0x2'
                Stop.

                I dont know why

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

                  Did you check that you have everything built for the correct architecture ?

                  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
                  • RIVOPICOR Offline
                    RIVOPICOR Offline
                    RIVOPICO
                    wrote on last edited by RIVOPICO
                    #12

                    yes for 5,7 and vs2013
                    maybe in the configure i must include the paths?

                    1 Reply Last reply
                    0
                    • RIVOPICOR Offline
                      RIVOPICOR Offline
                      RIVOPICO
                      wrote on last edited by RIVOPICO
                      #13

                      maybe in the configure i must include the paths?
                      i will try to include: -openssl-linked OPENSSL_LIBS="-llibeay32 -lssleay32" -I C:\Users\moh\Downloads\openssl-1.0.2h-vs2013\include -L C:\Users\moh\Downloads\openssl-1.0.2h-vs2013\lib

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

                        You are missing the Gdi32 library.

                        But there something not clear now, at the beginning of your thread you were compiling Qt, now you are compiling an application. What are you really doing ?

                        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
                        • RIVOPICOR Offline
                          RIVOPICOR Offline
                          RIVOPICO
                          wrote on last edited by RIVOPICO
                          #15

                          I did static build with configure, and installation. At last, i compile one Project that it uses these libraries. If i can include these static libraries with INCLUDEPATH and LIBS i think it's not necessary for me doing a build static with openssl. I am trying to do build static with openssl to run one Project that it needs these libraries.

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

                            Why are you building a static version of Qt in the first place ?

                            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
                            • RIVOPICOR Offline
                              RIVOPICOR Offline
                              RIVOPICO
                              wrote on last edited by RIVOPICO
                              #17

                              because i want to have build static because if i run my Project take me a lot of dll's and if do with static i didnt need these dll's. I prefer static to dynamic respecting the license of course

                              1 Reply Last reply
                              0
                              • RIVOPICOR Offline
                                RIVOPICOR Offline
                                RIVOPICO
                                wrote on last edited by RIVOPICO
                                #18

                                I thin i need to add this:
                                -lgdi32 and -lUser32

                                But how?¿

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

                                  How to link to these two libraries in your application project ?

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

                                  RIVOPICOR 2 Replies Last reply
                                  0
                                  • RIVOPICOR Offline
                                    RIVOPICOR Offline
                                    RIVOPICO
                                    wrote on last edited by RIVOPICO
                                    #20
                                    This post is deleted!
                                    1 Reply Last reply
                                    0
                                    • SGaistS SGaist

                                      How to link to these two libraries in your application project ?

                                      RIVOPICOR Offline
                                      RIVOPICOR Offline
                                      RIVOPICO
                                      wrote on last edited by
                                      #21
                                      This post is deleted!
                                      1 Reply Last reply
                                      0
                                      • SGaistS SGaist

                                        How to link to these two libraries in your application project ?

                                        RIVOPICOR Offline
                                        RIVOPICOR Offline
                                        RIVOPICO
                                        wrote on last edited by RIVOPICO
                                        #22
                                        This post is deleted!
                                        1 Reply Last reply
                                        0
                                        • RIVOPICOR Offline
                                          RIVOPICOR Offline
                                          RIVOPICO
                                          wrote on last edited by RIVOPICO
                                          #23
                                          This post is deleted!
                                          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