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. Crosscompilation qt 5.12.5 on linux 64 for raspberry pi 2b
Forum Updated to NodeBB v4.3 + New Features

Crosscompilation qt 5.12.5 on linux 64 for raspberry pi 2b

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
crosscompilatioraspberry pi 2linux
2 Posts 1 Posters 597 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.
  • M Offline
    M Offline
    Michal91
    wrote on 3 Sept 2021, 22:03 last edited by
    #1

    Hello. While several unsuccessful attempts to compile gcc for pi on windows I decide to switch my os for linux ie. Debian 11 64bit. While I follow that https://mechatronicsblog.com/cross-compile-and-deploy-qt-5-12-for-raspberry-pi/ blogpost in step 6 I get an error:

    gmake: g++: No such file or directory
    gmake: *** [Makefile:245: main.o] Error 127
    

    I sligthly modyfied configurationn arguments to :

    ./configure -release -opengl es2 -device linux-rpi2-g++ -device-option CROSS_COMPILE=~/raspberrypi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf- -sysroot ~/sysroot -opensource -confirm-license -skip qtwayland -skip qtlocation -skip qtscript -make libs -prefix ~/qt5/targetDeploymentDirectory -extprefix ~/qt5/hostInstallationTools -hostprefix ~/qt5/hostInstallationDirectory -no-use-gold-linker -v -no-gbm
    
    1 Reply Last reply
    0
    • M Offline
      M Offline
      Michal91
      wrote on 4 Sept 2021, 09:51 last edited by
      #2

      install g++ solved problem

      1 Reply Last reply
      0

      1/2

      3 Sept 2021, 22:03

      • Login

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