compiling QT for Android with Q_Object macro
-
I'am trying to build my QT project for Android. In one of my class i declared O_OBJECT macro like this:
class Scene : public QObject
{
Q_OBJECT
...
}
During compile i have following errors:
:/qt/6.2.4/android_x86_64/include/QtCore/qnamespace.:56:1: error: Parse error at "attribute"
make: *** [Makefile:507: moc_scene.cpp] Error 1
make: *** Waiting for unfinished jobs....The process "..\ndk\22.1.7171670\prebuilt\windows-x86_64\bin\make.exe" exited with code 2.
Error while building/deploying project flappy (kit: Android Qt 6.2.4 Clang x86_64)
The kit Android Qt 6.2.4 Clang x86_64 has configuration issues which might be the root cause for this problem.
When executing step "Make"Project is compiling without Q_OBJECT macro declared.
-
"The kit Android Qt 6.2.4 Clang x86_64 has configuration issues which might be the root cause for this problem."
What kind of KIT issue is there?