Build qt5.1.0 for mini2440 with PTXdist

clarkli
PTXdist ha a BSP project for mini2440, which comes with linux 3.7 and qt
4.8.3. However since qt 5.1.0 is out, I created a simple patch to build qt5
in PTXdist.

The functionalities:
1. Build qmake on the host
2. Targetinstall libs, plugins and fonts to the rootfs

Known issues:
1. sysroot-cross/bin/qmake is affected by qt.conf which is created by
host-qt4, be sure to rename or move this file.
2. rules/qt5.in does not provide configure options for qt with GUI. All
options must be done in rules/qt5.make

Improvements to qt4:
1. qt5 supports a new configure option - hostprefix, with which the build
for host qmake and target libraries can be done in one makefile. No
host-qt5 is required. (host-qt4 exists to build qmake-cross on the host)

To use the patch
1. Down and the zip from
https://docs.google.com/file/d/0B6xn0R6QR_RzcXVxMnNvY3N5Rkk/edit?usp=sha...
2. Put qt5.in and qt5.make to rules
3. Put qt-everywhere-opensource-src-5.1.0 in your PTXdist patches folder
4. Rename or move sysroot-cross/bin/qt.conf
5. Enable qt5 in ptxdist menuconfig
6. $ptxdist go
7. Use sysroot-cross/bin/qmake to build you Qt5 application!

<http://clarkli86.blogspot.com.au/2013/08/build-qt510-for-mini2440-with-p...;

Ruben
I've been looking for something like this, thanks, will try it out.

RodrigoAznar
Hello Clarkli,

I´ve tried to access the tutorial on your blog but with no success.
Please, where can I find the complete step by step?

Many thanks,