Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Errors building Qt 5.15.7 for Raspberry Pi 4
Forum Updated to NodeBB v4.3 + New Features

Errors building Qt 5.15.7 for Raspberry Pi 4

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
1 Posts 1 Posters 170 Views
  • 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.
  • C Offline
    C Offline
    cennian
    wrote on last edited by
    #1

    I am cross compiling Qt 5.15.7 for raspberry pi.
    with configuration as

    ../qt-everywhere-src-5.15.7/configure -release -opengl es2 -eglfs -device linux-rasp-pi4-v3d-g++ -device-option CROSS_COMPILE=$HOME/rpi/tools/cross-pi-gcc-8.3.0-2/bin/arm-linux-gnueabihf- -sysroot $HOME/rpi/sysroot_new/ -prefix /usr/local/qt5.15.2 -extprefix ~/rpi/qt5.15.2 -opensource -confirm-license -skip qtscript -skip qttools -skip qtlocation -skip qtwayland -skip wayland -skip qtwebengine -nomake tests -make libs -pkg-config -no-use-gold-linker -v -recheck -L$HOME/rpi/sysroot_new/usr/lib/arm-linux-gnueabihf -I$HOME/rpi/sysroot_new/usr/include/arm-linux-gnueabihf -no-xcb

    config.log
    https://pastebin.com/1jmsGJxT

    config.summary
    https://pastebin.com/W0cE4U8D

    L/home/sham/rpi/sysroot_new/usr/lib/arm-linux-gnueabihf /home/sham/rpi/build_5.15.7/qtbase/lib/libQt5Sql.so /home/sham/rpi/build_5.15.7/qtbase/lib/libQt5Core.so -lpthread -ldl
    mv -f libqsqlite.so /home/sham/rpi/build_5.15.7/qtbase/plugins/sqldrivers/libqsqlite.so
    make[5]: Leaving directory '/home/sham/rpi/build_5.15.7/qtbase/src/plugins/sqldrivers/sqlite'
    make[4]: Leaving directory '/home/sham/rpi/build_5.15.7/qtbase/src/plugins/sqldrivers'
    make[3]: Leaving directory '/home/sham/rpi/build_5.15.7/qtbase/src/plugins'
    make[2]: *** [Makefile:723: sub-plugins-make_first] Error 2
    make[2]: Leaving directory '/home/sham/rpi/build_5.15.7/qtbase/src'
    make[1]: *** [Makefile:51: sub-src-make_first] Error 2
    make[1]: Leaving directory '/home/sham/rpi/build_5.15.7/qtbase'
    make: *** [Makefile:81: module-qtbase-make_first] Error 2

    complete build ouput: https://pastebin.com/6dN9A1MS

    1 Reply Last reply
    0

    • Login

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