qt/paymentrequestplus.cpp:97:9: error: ‘QSslCertificate’ was not declared in this scope #6115

issue DanielFragaBR opened this issue on May 7, 2015
  1. DanielFragaBR commented at 7:08 AM on May 7, 2015: none

    Maybe a simple issue... I'm trying to compile from git current master (6a877e870e02) and I'm getting this (with Qt 4.8.6 and gcc 5.1.0):

      CXX      qt/qt_libbitcoinqt_a-paymentrequestplus.o
    qt/paymentrequestplus.cpp: In member function ‘bool PaymentRequestPlus::getMerchant(X509_STORE*, QString&) const’:
    qt/paymentrequestplus.cpp:97:9: error: ‘QSslCertificate’ was not declared in this scope
             QSslCertificate qCert(certData, QSsl::Der);
             ^
    qt/paymentrequestplus.cpp:98:27: error: ‘qCert’ was not declared in this scope
             if (currentTime < qCert.effectiveDate() || currentTime > qCert.expiryDate()) {
                               ^
    Makefile:4513: recipe for target 'qt/qt_libbitcoinqt_a-paymentrequestplus.o' failed
    make[2]: *** [qt/qt_libbitcoinqt_a-paymentrequestplus.o] Error 1
    make[2]: Leaving directory '/usr/local/src/git/bitcoin/src'
    Makefile:6357: recipe for target 'all-recursive' failed
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory '/usr/local/src/git/bitcoin/src'
    Makefile:626: recipe for target 'all-recursive' failed
    make: *** [all-recursive] Error 1
    

    Any hints? Thanks.

  2. laanwj commented at 7:52 AM on May 7, 2015: member

    Did you perhaps build Qt without OpenSSL support?

  3. DanielFragaBR commented at 4:02 PM on May 7, 2015: none

    Ops! Yes, I missed it. Thanks! ;)

  4. DanielFragaBR closed this on May 7, 2015

  5. DrahtBot locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-26 12:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me