<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - poppler-0.47.0 fails to compile with poppler-qt5 enabled on centos-7.2.1511-x86_64. Qt version is Qt5.7.0"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=97843">97843</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>poppler-0.47.0 fails to compile with poppler-qt5 enabled on centos-7.2.1511-x86_64. Qt version is Qt5.7.0
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>poppler
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>major
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>qt frontend
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>poppler-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>yashtripathi1608@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>poppler-0.47.0 fails to compile on centos-7.2.1511 x86_64 with poppler-qt5
enabled, qt5 version is Qt5.7.0 . Compile errors are,

/usr/local/Qt5.7.0/5.7/gcc_64/include/QtGui/qmatrix.h:66:32: error: expected
‘,’ or ‘...’ before ‘&&’ token
     QMatrix &operator=(QMatrix &&other) Q_DECL_NOTHROW // = default

                                ^
/usr/local/Qt5.7.0/5.7/gcc_64/include/QtGui/qmatrix.h:69:21: error: expected
‘,’ or ‘...’ before ‘&&’ token
     QMatrix(QMatrix &&other) Q_DECL_NOTHROW // = default

                     ^
/usr/local/Qt5.7.0/5.7/gcc_64/include/QtGui/qmatrix.h:69:28: error: invalid
constructor; you probably meant ‘QMatrix (const QMatrix&)’
     QMatrix(QMatrix &&other) Q_DECL_NOTHROW // = default

                            ^
/usr/local/Qt5.7.0/5.7/gcc_64/include/QtGui/qmatrix.h: In member function
QMatrix& QMatrix::operator=(QMatrix)’:
/usr/local/Qt5.7.0/5.7/gcc_64/include/QtGui/qmatrix.h:67:21: error: ‘other’ was
not declared in this scope
     { memcpy(this, &other, sizeof(QMatrix)); return *this; }

                     ^
In file included from
/usr/local/Qt5.7.0/5.7/gcc_64/include/QtGui/qimage.h:47:0,
                 from /usr/local/Qt5.7.0/5.7/gcc_64/include/QtGui/QImage:1,
                 from poppler-page.cc:40:
/usr/local/Qt5.7.0/5.7/gcc_64/include/QtGui/qtransform.h: At global scope:
/usr/local/Qt5.7.0/5.7/gcc_64/include/QtGui/qtransform.h:79:38: error: expected
‘,’ or ‘...’ before ‘&&’ token
     QTransform &operator=(QTransform &&other) Q_DECL_NOTHROW // = default

                                      ^
/usr/local/Qt5.7.0/5.7/gcc_64/include/QtGui/qtransform.h:82:27: error: expected
‘,’ or ‘...’ before ‘&&’ token
     QTransform(QTransform &&other) Q_DECL_NOTHROW // = default

                           ^
/usr/local/Qt5.7.0/5.7/gcc_64/include/QtGui/qtransform.h:82:34: error: invalid
constructor; you probably meant ‘QTransform (const QTransform&)’
     QTransform(QTransform &&other) Q_DECL_NOTHROW // = default

                                  ^
/usr/local/Qt5.7.0/5.7/gcc_64/include/QtGui/qtransform.h: In member function
‘QTransform& QTransform::operator=(QTransform)’:
/usr/local/Qt5.7.0/5.7/gcc_64/include/QtGui/qtransform.h:80:21: error: ‘other’
was not declared in this scope
     { memcpy(this, &other, sizeof(QTransform)); return *this; }</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>