[Poppler-bugs] [Bug 97843] 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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Sep 17 13:46:29 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=97843

            Bug ID: 97843
           Summary: poppler-0.47.0 fails to compile with poppler-qt5
                    enabled on centos-7.2.1511-x86_64. Qt version is
                    Qt5.7.0
           Product: poppler
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: major
          Priority: medium
         Component: qt frontend
          Assignee: poppler-bugs at lists.freedesktop.org
          Reporter: yashtripathi1608 at gmail.com

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; }

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler-bugs/attachments/20160917/cc9ab310/attachment.html>


More information about the Poppler-bugs mailing list