Skip to content
This repository was archived by the owner on Dec 10, 2021. It is now read-only.

Qt5 error while compiling example application #49

Open
arjan opened this issue Jan 8, 2020 · 2 comments
Open

Qt5 error while compiling example application #49

arjan opened this issue Jan 8, 2020 · 2 comments

Comments

@arjan
Copy link

arjan commented Jan 8, 2020

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--
Copy link

tobias-- commented Jan 18, 2020

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: nerves-web-kiosk/webengine_kiosk#25

@mobileoverlord
Copy link
Contributor

This should be fixed with the latest version v1.10.0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants