Qt compilation for Beaglebone Black

I want to compile Qt for Beaglebone Black from the source.

I have the following:

  • cross-compiler: gcc-linaro-arm-linux-gnueabihf-4.9-2014.06_linux
  • Qt-everywhere open source-Src-5.3.1.

My operating system is Scientific 32-bit Linux. My problem: I have no idea what parameters I need to pass to the ./confiure tool . I have the following tips:

  • -xplatform = qtbase / mkspecs / linux-arm-gnueabi-g ++
  • -device = qtbase / mkspecs / devices / linux-beagleboard-g ++
  • -device-option CROSS_COMPILE = / home / anjanu / Downloads / gcc-linaro-arm-linux-gnueabihf-4.9-2014.06_linux / bin / arm-linux-gnueabihf-g ++

Is this right, and that everything needs to be passed on. / configure, and also what is the sysroot option for?

+4
source share
1 answer

In principle, this should be enough:

-xplatform = qtbase/mkspecs/linux-arm-gnueabi-g++

Everything else is almost red-herring ...

Despite the fact that toolchain binaries are correctly named with their long names, for example. arm-linux-gnueabi-g++, inclusion paths, and libraries may interfere with system and library paths. This is what is meant to handle sysroot.

You can install it in the PATH of your cross-instrumental installation. No, this is not a Qt installation. This is the SDK you got from a possible Linaro, including the entire cross-platform development SDK. That is, the compiler, linker, stripper, include files, libraries, etc.

0
source

All Articles