Please nominate your Qt Champions for 2021! https://forum.qt.io/topic/132134/looking-for-the-2021-qt-champions
Error while cross compiling qtscxml module for raspberry pi
RG97 last edited by
I am getting the following error message while cross compiling qtscxml module for raspberry pi.
I am running the following commands-
git clone git://code.qt.io/qt/qtscxml.git -b 5.9
It fails on make with following error script
cd src/ && ( test -e Makefile || /home/rahul/raspi/qt5/bin/qmake -o Makefile /home/rahul/raspi/qtscxml/src/src.pro ) && make -f Makefile make: Entering directory '/home/rahul/raspi/qtscxml/src' cd scxml/ && ( test -e Makefile || /home/rahul/raspi/qt5/bin/qmake -o Makefile /home/rahul/raspi/qtscxml/src/scxml/scxml.pro ) && make -f Makefile Project MESSAGE: perl -w /home/rahul/raspi/qt5/bin/syncqt.pl -module QtScxml -version 5.9.8 -outdir /home/rahul/raspi/qtscxml /home/rahul/raspi/qtscxml <srcbase> = /home/rahul/raspi/qtscxml <outbase> = /home/rahul/raspi/qtscxml Project ERROR: Unknown module(s) in QT: qml-private Makefile:44: recipe for target 'sub-scxml-make_first' failed make: *** [sub-scxml-make_first] Error 3 make: Leaving directory '/home/rahul/raspi/qtscxml/src' Makefile:47: recipe for target 'sub-src-make_first' failed make: *** [sub-src-make_first] Error 2
What could be the issue ?
Hi and welcome to devnet,
You are missing the QtDeclarative module at least.
What modules did you already cross-compile ?
To build scxml.pro you need, core-private, qml-private modules should have been built. Looking at the error qml-private is not build. This indicates to me that you have already built core and not qml. As @SGaist already suggested try building qtdeclarative before building the qtscxml.
Did the suggestion work ? Are you able to solve the issue ? Do you need help.