qobjdefs.h compile error
Unsolved
Mobile and Embedded
-
I am getting an error trying to compile on linux for a beaglebone: when I try to include QMetaType, qobjectdefs.h generates an error "expected ',' or '...' before Public QT_ANNOTATE_ACCESS_SPECIFIER(qt_signal)"
the error I guess occurs here:
#define Q_SIGNALS public QT_ANNOTATE_.....
^I have a VirtualBox where this project compiles fine. I cloned the sysroots and kits and so on to a different linux system where this error occurs. Any ideas?
Thank you
-
Hi and welcome to devnet,
What version of Qt are you cross-compiling ?
Are you using the same compiler on both systems ?
What do you mean by cloning kits ?