I have successfully cross-compiled qtbase for Raspberry Pi 0 W (by following https://wiki.qt.io/RaspberryPi2EGLFS) , but I'm unable to build the sub-module QtDeclarative for adding QML support. With Qt5.15.0 I'm getting the following error :
/qtdeclarative/src/3rdparty/masm/wtf/OSAllocatorPosix.cpp:86:14: error: ‘PATH_MAX’ was not declared in this scope
char buf[PATH_MAX];
What am I doing wrong ?