kobolabs / Kobo-Reader

http://www.koboereader.com/
603 stars 126 forks source link

Build instructions for QT Anywhere 4.8.0 #54

Closed fasterrobot closed 9 years ago

fasterrobot commented 9 years ago

I don't see build instructions for QT anywhere 4.8.0, that shows how QT4.8.0 needs to be configured to rebuild the libraries fully compatible with the Kobo Glo and Aura HD. Are they in the archive?

I found a script for qt-4.6.2, in the build instructions, which has the following switches: ./configure $CPPFLAGS $LIBS -release -no-accessibility -system-libmng -no-nis -no-cups -no-xshape -no-xrandr -no-xkb -no-xinerama -no-xcursor -no-sm -system-libpng -system-libjpeg -qt-gif -qt-zlib -embedded arm -xplatform qws/linux-arm-g++ -no-qt3support -exceptions -opensource -no-pch -qt-freetype -qt-gfx-qvfb -confirm-license -dbus -ldbus-1 -nomake examples -nomake docs -nomake translations -nomake examples -nomake docs -nomake demos -scripttools -xmlpatterns -no-opengl -depths all -qt-gfx-transformed -qt-gfx-linuxfb -no-mouse-pc -no-mouse-linuxtp -no-mouse-linuxinput -no-mouse-tslib -no-mouse-qvfb -no-mouse-qnx -no-armfpa -no-neon -openssl -lrt -I${DEVICEROOT}/include/dbus-1.0 -I${DEVICEROOT}/lib/dbus-1.0/include $QT_EXTRA_ARGS -prefix-install

But these switches aren't all available in 4.8.0 or 5.xx What switches ought I use to build the libraries that are on the Kobo Glo, and AuraHD ?

gtalusan commented 9 years ago

This is what I use.

configure -opensource -confirm-license -prefix /usr/local/Qt-5.2.1-arm -platform macx-clang -xplatform linux-armv7-kobo-g++ -no-xcb -qt-harfbuzz -skip connectivity -skip doc -skip docgallery -skip feedback -skip location -skip pim -skip qa -skip quick1 -skip quickcontrols -skip serialport -skip translations -system-libpng -system-libjpeg -system-freetype -system-zlib -lz -I/chroot/usr/include -I/chroot/usr/include/freetype2 -I/chroot/include -no-compile-examples -I/chroot/include/dbus-1.0 -I/chroot/lib/dbus-1.0/include -dbus -no-qml-debug