<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hi Mathieu,<br>
    <br>
    <div class="moz-cite-prefix">On 10/04/2015 03:55 AM, Mathieu
      Pellerin wrote:<br>
    </div>
    <blockquote
cite="mid:CAC_qv=q+=y6CT4=OhGQ9pkDUv12UCknVmx98rLSZUzfLVpN+oQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div>
            <div>
              <div>
                <div>
                  <div>
                    <div>Greetings,<br>
                      <br>
                    </div>
                    (Note: it's the first time I'm trying to compile
                    QGIS using Qt5, so the problem might be the user
                    here ;) )<br>
                    <br>
                  </div>
                  Using the current master (what will become 2.12), I
                  fail to successfully compile a build using Qt5
                  libraries. The make process crashes when trying to
                  compile qgsauthcertutils.cpp with the following error:<br>
                  <br>
                  /home/webmaster/dev/cpp/QGIS/src/core/auth/qgsauthcertutils.cpp:
                  In static member function ‘static QMap<QString,
                  QList<QSslCertificate> >
                  QgsAuthCertUtils::certsGroupedByOrg(QList<QSslCertificate>)’:<br>
                  /home/webmaster/dev/cpp/QGIS/src/core/auth/qgsauthcertutils.cpp:64:68:
                  error: no matching function for call to
                  ‘QString::QString(QStringList)’<br>
                       QString org( cert.subjectInfo(
                  QSslCertificate::Organization ) );<br>
                                                                                     
                  ^<br>
                  In file included from
                  /usr/include/x86_64-linux-gnu/qt5/QtCore/QString:1:0,<br>
                                   from
                  /usr/include/Qca-qt5/QtCrypto/qca_core.h:36,<br>
                                   from
                  /usr/include/Qca-qt5/QtCrypto/qca.h:36,<br>
                                   from
                  /usr/include/Qca-qt5/QtCrypto/QtCrypto:1,<br>
                                   from
                  /home/webmaster/dev/cpp/QGIS/src/core/auth/qgsauthcertutils.h:21,<br>
                                   from
                  /home/webmaster/dev/cpp/QGIS/src/core/auth/qgsauthcertutils.cpp:17:<br>
                  <br>
                </div>
                <br>
              </div>
              Question: is it the case that ATM master does not compile
              using Qt5 anymore? Or is there something I'm missing here?<br>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    Yes, it looks like the authentication system is incompatible with
    Qt5. In particular this API change:<br>
    <br>
    >
    <meta http-equiv="content-type" content="text/html;
      charset=windows-1252">
    <span style="color: rgb(46, 52, 54); font-family: 'Open Sans',
      'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px;
      font-style: normal; font-variant: normal; font-weight: normal;
      letter-spacing: normal; line-height: 22.4px; orphans: auto;
      text-align: left; text-indent: 0px; text-transform: none;
      white-space: normal; widows: 1; word-spacing: 0px;
      -webkit-text-stroke-width: 0px; display: inline !important; float:
      none; background-color: rgb(255, 255, 255);">QSslCertificate::subjectInfo()
      and QSslCertificate::issuerInfo() now return a QStringList instead
      of a QString</span>
    <p style="margin: 0px 0px 0.8em; font-family: 'Open Sans',
      'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px;
      line-height: 1.6em; color: rgb(46, 52, 54); font-style: normal;
      font-variant: normal; font-weight: normal; letter-spacing: normal;
      orphans: auto; text-align: left; text-indent: 0px; text-transform:
      none; white-space: normal; widows: 1; word-spacing: 0px;
      -webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
      255);">> It's pretty common for a certificate to contain more
      than entry of a specific type, but in Qt 4 the API only let you
      access the first one.</p>
    <a class="moz-txt-link-freetext" href="https://blogs.kde.org/2012/04/14/whats-new-qt-5-ssl">https://blogs.kde.org/2012/04/14/whats-new-qt-5-ssl</a><br>
    <br>
    Cheers<br>
    Matthias<br>
    <br>
    <blockquote
cite="mid:CAC_qv=q+=y6CT4=OhGQ9pkDUv12UCknVmx98rLSZUzfLVpN+oQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div>
            <div><br>
            </div>
            Thanks for the help.<br>
            <br>
          </div>
          Math<br>
          <br>
        </div>
        P.S. the reason why I'm trying to get a functioning Qt5-based
        build is that I've ran into a problem with Burmese character
        encoding that's fixed under Qt5, due to its use of harfbuzz-ng.
        So, one additional motivation to to the upgrade eventually :)<br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Qgis-developer mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a></pre>
    </blockquote>
    <br>
  </body>
</html>