Building Qt Quick 2d Renderer
-
wrote on 4 Aug 2021, 10:19 last edited by
Hi,
I am trying to build Qt Quick 2d renderer for Beaglebone Black as per guide: https://doc.qt.io/QtQuick2DRenderer/qtquick2drenderer-installation-guide.htmlI am already having a qt build that support OpenGL ES (Configuration done with -opengl es2).
From the Qt source folder I executed the following commands:
export CC=/home/sajeevan2/bbb_tools/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabi-g++
export SYSROOT=/home/sajeevan2/bbb_tools/sysrootsudo /home/sajeevan2/bbb_tools/qt_5_12_5_bbb/tool/bin/qmake qtdeclarative
The result was:
Running configuration tests...
Done running configuration tests.Configure summary:
Qt QML:
QML network support .................... yes
QML debugging and profiling support .... yes
QML sequence object .................... yes
QML list model ......................... yes
QML XML http request ................... yes
QML Locale ............................. yes
QML delegate model ..................... yes
Qt Quick:
Direct3D 12 ............................ no
AnimatedImage item ..................... yes
Canvas item ............................ yes
Support for Qt Quick Designer .......... yes
Flipable item .......................... yes
GridView item .......................... yes
ListView item .......................... yes
TableView item ......................... yes
Path support ........................... yes
PathView item .......................... yes
Positioner items ....................... yes
Repeater item .......................... yes
ShaderEffect item ...................... yes
Sprite item ............................ yesQt is now configured for building. Just run 'make'.
Once everything is built, you must run 'make install'.
Qt will be installed into '/home/sajeevan2/bbb_tools/qt_5_12_5_bbb/binaries'.Prior to reconfiguration, make sure you remove any leftovers from
the previous build.But when I am executing:
sudo make
the following error messages coming:
../../qtdeclarative/src/qml/util/qqmladaptormodel.cpp:1044:10: fatal error: qqmladaptormodel.moc: No such file or directory
#include <qqmladaptormodel.moc>
^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Makefile:18643: recipe for target '.obj/qqmladaptormodel.o' failed
make[2]: *** [.obj/qqmladaptormodel.o] Error 1
make[2]: Leaving directory '/home/sajeevan2/bbb_tools/qt-everywhere-src-5.12.5/src/qml'
Makefile:55: recipe for target 'sub-qml-make_first-ordered' failed
make[1]: *** [sub-qml-make_first-ordered] Error 2
make[1]: Leaving directory '/home/sajeevan2/bbb_tools/qt-everywhere-src-5.12.5/src'
Makefile:49: recipe for target 'sub-src-make_first' failed
make: *** [sub-src-make_first] Error 2It is showing that the file qqmladaptormodel.moc is missing. But this file is present in src/qml/.moc/qqmladaptormodel.moc:
find -name qqmladaptormodel.moc
./src/qml/.moc/qqmladaptormodel.mocPlease suggest some workaround to solve this issue.
Thanks in advance.
1/1