Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-32830

QtNetwork fails to build with OpenSSL support

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 5.1.0
    • Build System, Network: SSL
    • None
    • Windows 8
      Visual C++ 11 (Visual Studio 2012 Express)

    Description

      I wanted to compile Qt 5.1.0 with OpenSSL support, therefore I did

      configure -openssl -I G:\openssl-0.9.8h\include -L G:\openssl-0.9.8h\lib ...
      

      ... which was apparently understood by configure:

      OpenSSL support.............yes
      ...
      Include paths...............G:\openssl-0.9.8h\include 
      Additional libraries........-LG:\openssl-0.9.8h\lib 
      

      However building QtNetwork fails with "cannot find openssl/ssl.h". After looking at the makefiles in qtbase/src/network, the additional paths are clearly missing.

      After patching the makefiles manually, QtNetwork compiles fine but then it fails at link stage with undefined references to all the QSsl* classes (QSslCertificate, QSslKey, QSslConfiguration, QSslCipher, QSslSocket, QSslError).

      Is there any workaround that I could apply until this gets fixed? I really need to be able to compile Qt 5.1.0 with OpenSSL support.

      Thank you.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            buddenha Oswald Buddenhagen
            laurentgom Laurent
            Votes:
            4 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes