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

Qt5 build errors using OpenSSL-1.1.0-pre[n]

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2: Important P2: Important
    • None
    • 5.6.0 RC
    • Network: SSL
    • None

      Hi, everyone,

      Got errors while building QT5 with recent OpenSSL-1.1.0-dev:

      • MinGW-W64:
        error: invalid use of incomplete type 'X509 {aka struct x509_st}

        return qHashBits(x509->sha1_hash, SHA_DIGEST_LENGTH, seed);

      • Intel C++ Compiler:
        error: pointer to incomplete class type is not allowed
        return qHashBits(x509->sha1_hash, SHA_DIGEST_LENGTH, seed);
      • MSVC:
        error C2027: use of undefined type 'x509_st'

      (logs added in attachment).

      The source of errors are recent changes in OpenSSL API, struct x509_st a.k.a X509 has been made opaque.

      Regards,

      Alexander

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

            richmoore Richard Moore (qtnetwork)
            sav sav
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes