You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@thrift.apache.org by Fatima Castiglione Maldonado <ca...@gmail.com> on 2019/12/09 17:37:30 UTC

Re: Compiling Thrift for Ubuntu 19

Hi James
Any news on this issue?

On Thu, 21 Nov 2019 at 06:41, Fatima Castiglione Maldonado <
castiglionemaldonado@gmail.com> wrote:

> Hey thank you very much.
> If you consider that I can be useful in your Slack, to provide further
> information and maybe some testing, just invite me.
>
> Thank you,
> Fatima
>
>
> On Wed, 20 Nov 2019 at 19:12, James E. King III <jk...@apache.org> wrote:
>
>> This question is being investigated on the slack channel.
>>
>> This system has a Qt4 "moc" on it, but also had Qt5 installed.
>> The qtchooser component is providing a Qt4 "moc" and was too old.
>> I don't know much about Qt, but that's all I know so far.
>>
>> - Jim
>>
>> On Wed, Nov 20, 2019 at 10:31 AM Fatima Castiglione Maldonado
>> <ca...@gmail.com> wrote:
>> >
>> > Hi,
>> > 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 = {
>> >        ^~~~~~~~~~~~~~~~~~~~
>> >        QMetaObjectPrivate
>> > 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
>> >        qt_meta_data_apache__thrift__async__TQTcpServer,
>> > &staticMetaObjectExtraData }
>> >
>> >  ^~~~~~~~~~~~~~~~~~~~~~~~~
>> > src/thrift/qt/moc__TQTcpServer.cpp:69:57: note: suggested alternative:
>> > ‘staticMetaObject’
>> >        qt_meta_data_apache__thrift__async__TQTcpServer,
>> > &staticMetaObjectExtraData }
>> >
>> >  ^~~~~~~~~~~~~~~~~~~~~~~~~
>> >
>> staticMetaObject
>> > 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 :
>> > &staticMetaObject;
>> >
>> >  ^~~~~~~~~~~~~~~~
>> >
>> >
>> >
>> > --
>> > =================================
>> > Fatima Castiglione Maldonado
>> > Фатима Кастиглионе Малдонадо
>> >
>> > Software Developer
>> > Digital Transformation: Blockchain & Machine Learning
>> > Free software advocate
>> >
>> > castiglionemaldonado@gmail.com
>> > skype: fatima.yo
>> > International mobile: +59892766400
>> > https://www.linkedin.com/in/fatima-castiglione-maldonado/
>> > =================================
>>
>
>
> --
> =================================
> Fatima Castiglione Maldonado
> Фатима Кастиглионе Малдонадо
>
> Software Developer
> Digital Transformation: Blockchain & Machine Learning
> Free software advocate
>
> castiglionemaldonado@gmail.com
> skype: fatima.yo
> International mobile: +59892766400
> https://www.linkedin.com/in/fatima-castiglione-maldonado/
> =================================
>
>

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

Software Developer
Digital Transformation: Blockchain & Machine Learning
Free software advocate

castiglionemaldonado@gmail.com
skype: fatima.yo
International mobile: +59892766400
https://www.linkedin.com/in/fatima-castiglione-maldonado/
=================================