nerves-web-kiosk / kiosk_system_rpi3

Nerves QtWebEngine Kiosk system for Raspberry Pi 3
Apache License 2.0
67 stars 25 forks source link

Qt5 error while compiling example application #49

Open arjan opened 4 years ago

arjan commented 4 years ago

While building the dep I got this compilation error:

moc_ElixirComs.cpp:99:18: error: 'QMetaObject::SuperData' has not been declared
     QMetaObject::SuperData::link<QObject::staticMetaObject>(),

It turns out qobjectdefs.h included in the system does not include this definition. I'm running Qt 5.14.0 on Arch Linux. I dont know why but I fixed it by copying my own .h file over it:

cp /usr/include/qt/QtCore/qobjectdefs.h \
  $HOME/.nerves/artifacts/kiosk_system_rpi3-portable-1.8.0/staging/usr/include/qt5/QtCore/qobjectdefs.h
tobias-- commented 4 years ago

I get the same error. On which version of QT does this project depend anyway?

I noticed, that this might be the wrong project to ask. I created an issue here: https://github.com/fhunleth/webengine_kiosk/issues/25

mobileoverlord commented 4 years ago

This should be fixed with the latest version v1.10.0