简体   繁体   中英

Cross-Compiling Qt for Embedded Linux Applications

Where qmake.conf file is located and how it should look for armhf debian wheezy platform? (BeagleBone Black)

I am trying to follow these steps , but some of them are unreasonable like that one about qmake.

Also what does export PATH=path/to/cross/compiler:$PATH will do?

I enter something like this in path/to/cross/compiler

export PATH=/usr/bin/arm-linux-gnueabihf-g++:$PATH

export PATH=/usr/bin/arm-linux-gnueabihf-g++:$PATH

you should add directory to PATH not path to file, in your case it is /usr/bin , but because of /usr/bin is already in your PATH you can skip this step.

Where qmake.conf file is located and how it should look for armhf debian wheezy platform?

Look at mkspecs/linux-arm-gnueabi-g++/ in qt source directory, your qmake.conf should looks like it, you can just modify this file to point to your compiler.

After a week of trying to configure arm qt cross-compiler on my Debian 7 Wheezy, I decided to try to follow these steps on Ubuntu 14.04, and everything went as expected! So, don't lose your time playing with Debian Wheezy host machine, try with newest Ubuntu distribution and save your time!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM