Build Qt cross toolcahain for Raspberry Pi 4
Unsolved
Installation and Deployment
-
Hello,
Here I am reviving the subject which has become quite old and whose title no longer relates to the problem. The main question is: Did someone successfully build the Qt cross toolchain for Raspberry Pi 4 ?
Using this manual:
Cross-Compile QT 5.12.6 / Raspberry Pi 4I've tried this approach ... and got this error after launching make:
constant_mappings.cpp: In function ‘quint64 spiStatesFromQState(QAccessible::State)’: constant_mappings.cpp:82:35: error: ‘ATSPI_STATE_READ_ONLY’ was not declared in this scope setSpiStateBit(&spiState, ATSPI_STATE_READ_ONLY); ^ Makefile:2911: recipe for target '.obj/constant_mappings.o' failed make[3]: *** [.obj/constant_mappings.o] Error 1 make[3]: Leaving directory '/home/pavel/qtbase/src/platformsupport/linuxaccessibility' Makefile:358: recipe for target 'sub-linuxaccessibility-make_first' failed make[2]: *** [sub-linuxaccessibility-make_first] Error 2 make[2]: Leaving directory '/home/pavel/qtbase/src/platformsupport' Makefile:585: recipe for target 'sub-platformsupport-make_first' failed make[1]: *** [sub-platformsupport-make_first] Error 2 make[1]: Leaving directory '/home/pavel/qtbase/src' Makefile:50: recipe for target 'sub-src-make_first' failed make: *** [sub-src-make_first] Error 2 Any comments/suggestions welcome. Thanks