Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Cross compiling for dragon 410 c



  • Hi everybody

    I found this link to create a cross-compiled Qt. I can make many steps successfully until "make install command".

    I got these errors.

    obj/qwaylandeglwindow.o:qwaylandeglwindow.cpp:function QtWaylandClient::QWaylandEglWindow::updateSurface(bool): error: undefined reference to 'QtWaylandClient::lcQpaWayland()'
    .obj/qwaylandeglwindow.o:qwaylandeglwindow.cpp:function QtWaylandClient::QWaylandEglWindow::updateSurface(bool): error: undefined reference to 'QtWaylandClient::lcQpaWayland()'
    .obj/moc_qwaylandeglwindow.o:moc_qwaylandeglwindow.cpp:vtable for QtWaylandClient::QWaylandEglWindow: error: undefined reference to 'QtWaylandClient::QWaylandWindow::isActive() const'
    .obj/moc_qwaylandeglwindow.o:moc_qwaylandeglwindow.cpp:vtable for QtWaylandClient::QWaylandEglWindow: error: undefined reference to 'non-virtual thunk to QtWaylandClient::QWaylandWindow::isActive() const'
    collect2: error: ld returned 1 exit status
    make[5]: *** [Makefile:85: ../../../../plugins/platforms/libqwayland-egl.so] Error 1
    make[5]: Leaving directory '/home/ckurdu/bin/linaro/qt511_build3/qtwayland/src/plugins/platforms/qwayland-egl'
    make[4]: *** [Makefile:115: sub-qwayland-egl-install_subtargets-ordered] Error 2
    make[4]: Leaving directory '/home/ckurdu/bin/linaro/qt511_build3/qtwayland/src/plugins/platforms'
    make[3]: *** [Makefile:62: sub-platforms-install_subtargets] Error 2
    make[3]: Leaving directory '/home/ckurdu/bin/linaro/qt511_build3/qtwayland/src/plugins'
    make[2]: *** [Makefile:165: sub-plugins-install_subtargets] Error 2
    make[2]: Leaving directory '/home/ckurdu/bin/linaro/qt511_build3/qtwayland/src'
    make[1]: *** [Makefile:61: sub-src-install_subtargets] Error 2
    make[1]: Leaving directory '/home/ckurdu/bin/linaro/qt511_build3/qtwayland'
    make: *** [Makefile:639: module-qtwayland-install_subtargets] Error 2
    
    


  • I changed the version qt 5.12 to qt 5.11 and problem solved.


Log in to reply