Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Building Qt Quick 2d Renderer
Forum Updated to NodeBB v4.3 + New Features

Building Qt Quick 2d Renderer

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 185 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Sajeevan K
    wrote on 4 Aug 2021, 10:19 last edited by
    #1

    Hi,
    I am trying to build Qt Quick 2d renderer for Beaglebone Black as per guide: https://doc.qt.io/QtQuick2DRenderer/qtquick2drenderer-installation-guide.html

    I 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/sysroot

    sudo /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 ............................ yes

    Qt 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 2

    It 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.moc

    Please suggest some workaround to solve this issue.
    Thanks in advance.

    1 Reply Last reply
    0

    1/1

    4 Aug 2021, 10:19

    • Login

    • Login or register to search.
    1 out of 1
    • First post
      1/1
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved