thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fatima Castiglione Maldonado <>
Subject Compiling Thrift for Ubuntu 19
Date Wed, 20 Nov 2019 15:30:55 GMT
I am trying to compile thrift for Ubuntu 19 and I get the following errors.
Any help would be highly appreciated.
Thanks in advance.

src/thrift/qt/moc__TQTcpServer.cpp:13:2: error: #error "This file was
generated using the moc from 4.8.7. It"
 #error "This file was generated using the moc from 4.8.7. It"
src/thrift/qt/moc__TQTcpServer.cpp:14: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."
src/thrift/qt/moc__TQTcpServer.cpp:15:2: error: #error "(The moc has
changed too much.)"
 #error "(The moc has changed too much.)"
src/thrift/qt/moc__TQTcpServer.cpp:63:7: error: ‘QMetaObjectExtraData’ does
not name a type; did you mean ‘QMetaObjectPrivate’?
 const QMetaObjectExtraData
apache::thrift::async::TQTcpServer::staticMetaObjectExtraData = {
src/thrift/qt/moc__TQTcpServer.cpp:65:2: warning: extra ‘;’ [-Wpedantic]
src/thrift/qt/moc__TQTcpServer.cpp:69:57: error:
‘staticMetaObjectExtraData’ was not declared in this scope
&staticMetaObjectExtraData }

src/thrift/qt/moc__TQTcpServer.cpp:69:57: note: suggested alternative:
&staticMetaObjectExtraData }

src/thrift/qt/moc__TQTcpServer.cpp: In member function ‘virtual const
QMetaObject* apache::thrift::async::TQTcpServer::metaObject() const’:
src/thrift/qt/moc__TQTcpServer.cpp:78:71: error: conditional expression
between distinct pointer types ‘QDynamicMetaObjectData*’ and ‘const
QMetaObject*’ lacks a cast
     return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject :


Fatima Castiglione Maldonado
Фатима Кастиглионе Малдонадо

Software Developer
Digital Transformation: Blockchain & Machine Learning
Free software advocate
skype: fatima.yo
International mobile: +59892766400

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message