After several unsuccessful attempts to build Qt cross toolchain for RPi3, I decided to change the device. This time it's the RPi4. The problem persists: make process on Ubuntu fails due to lack of a library, which is referenced in the code of Qt. Here is the name of library: libatspi. The guys from Qt suggested to install libatspi and libatspi-dev on RPi and then re-synchronize with Ubuntu and rebuild once more. The problem is that RPi can't locate libatspi packages.
Any comments ?
P.S. Here is where it fails (when running make on Ubuntu):
Code: Select all
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: *** [.obj/constant_mappings.o] Error 1 make: Leaving directory '/home/pavel/qtbase/src/platformsupport/linuxaccessibility' Makefile:358: recipe for target 'sub-linuxaccessibility-make_first' failed make: *** [sub-linuxaccessibility-make_first] Error 2 make: Leaving directory '/home/pavel/qtbase/src/platformsupport' Makefile:585: recipe for target 'sub-platformsupport-make_first' failed make: *** [sub-platformsupport-make_first] Error 2 make: Leaving directory '/home/pavel/qtbase/src' Makefile:50: recipe for target 'sub-src-make_first' failed make: *** [sub-src-make_first] Error 2