Sadly the applying of the sed to enable both the qt4 and qt5 wrappers
fails at compile time with this:

CXX      libpoppler_qt5_la-poppler-link-extractor.lo
  CXX      libpoppler_qt5_la-poppler-optcontent.lo
In file included from poppler-optcontent.cc:429:0:
poppler-optcontent.moc:12:2: error: #error "This file was generated using
the moc from 4.8.5. It"
 #error "This file was generated using the moc from 4.8.5. It"
poppler-optcontent.moc:13:2: error: #error "cannot be used with the
include files from this version of Qt."
 #error "cannot be used with the include files from this version of Qt."
poppler-optcontent.moc:14:2: error: #error "(The moc has changed too much.)"
 #error "(The moc has changed too much.)"
poppler-optcontent.moc:46:7: error: 'QMetaObjectExtraData' does not name a
 const QMetaObjectExtraData
Poppler::OptContentModel::staticMetaObjectExtraData = {
poppler-optcontent.moc:52:47: error: 'staticMetaObjectExtraData' was not
declared in this scope
       qt_meta_data_Poppler__OptContentModel, &staticMetaObjectExtraData }
poppler-optcontent.moc: In member function 'virtual const QMetaObject*
Poppler::OptContentModel::metaObject() const':
poppler-optcontent.moc:61:71: error: conditional expression between
distinct pointer types 'QDynamicMetaObjectData*' and 'const QMetaObject*'
lacks a cast
     return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject :
poppler-optcontent.moc:62:1: warning: control reaches end of non-void
function [-Wreturn-type]
Makefile:692: recipe for target 'libpoppler_qt5_la-poppler-optcontent.lo'
make[4]: *** [libpoppler_qt5_la-poppler-optcontent.lo] Error 1
make[4]: Leaving directory '/opt/poppler-0.24.5/qt5/src'
Makefile:514: recipe for target 'all' failed
make[3]: *** [all] Error 2
make[3]: Leaving directory '/opt/poppler-0.24.5/qt5/src'
Makefile:435: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/opt/poppler-0.24.5/qt5'
Makefile:641: recipe for target 'all-recursive' failed

Is there anything further that can be done to get both wrappers to compile
at the same time?



FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to