Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Compiling Qt6.5 for Raspberry Pi Zero for cross compiling
Forum Updated to NodeBB v4.3 + New Features

Compiling Qt6.5 for Raspberry Pi Zero for cross compiling

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 1 Posters 297 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.
  • S Offline
    S Offline
    St.Stanislav
    wrote on last edited by
    #1

    Hello everyone!

    I have faced with the following question: when I try to compile Qt6.5 for Raspberry arm's processor, everything goes fine (I have downloaded Qt's sources, appropriate arm's compiler, rsyn sysroots and etc). After compiling Qt I try to add it into Qt Creator and it's been found well. Nevertheless it is detected with ABI x86-linux-generic-elf-64bit when mkspec is devices/linux-rasp-pi-g++ therefore I can't add this Qt's version to kit with appropriate arm's compiler. What am I doing wrong? Should ABI the linux-rasp-pi-g++ king? I use the following configure line (one of the multiply cases that I have tried, with different arm's compilers, flags and so on) :

    ../qt-everywhere-src-6.5.0/configure -release -no-opengl -no-eglfs -device linux-rasp-pi-g++ -device-option CROSS_COMPILE=~/rpi/tools/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- -sysroot ~/rpi/sysroot -prefix /usr/local/qt6.5 -extprefix ~/rpi/qt6.5 -opensource -confirm-license -skip qtscript -skip qtwayland -skip qtwebengine -nomake tests -make libs -pkg-config -no-use-gold-linker

    1 Reply Last reply
    0
    • S Offline
      S Offline
      St.Stanislav
      wrote on last edited by
      #2

      Update: I can compile 5.15.2 in the same way and the ABI is correct (arm-linux-generic-elf-32bit). So the question is: can qt 6.5.0 be compiled for ARMv6 32 bit? Or maybe any addition things should be done?

      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