Qt 484 + MultiTouch¶
Situation au 17.12.2012 (reprise des notes): on a une incompatibilité entre le module powervr du kernel et celui de xorg-multitouch. En bref pour avoir du multitouch dans xorg il faut une version qui n'a pas la même ABI que celle du kernel 3.1.5 il faut donc de tt urgence monter en version du kernel ... et ça c'est lourd. Putain de logiciel pas libre.
Autres sources:Compilation en cours (14.12.2012 sur la pandaboard)
./configure -confirm-license -prefix "/opt/qt-arm" -bindir "/opt/qt-arm/bin" -libdir "/opt/qt-arm/lib/" -docdir "/opt/qt-arm/doc" -headerdir "/opt/qt-arm/qt4" -datadir "/opt/qt-arm/qt4" -plugindir "/opt/qt-arm/qt4/plugins" -importdir "/opt/qt-arm/qt4/imports" -translationdir "/opt/qt-arm/qt4/translations" -sysconfdir "/etc/xdg" -demosdir "/opt/qt-arm/demos" -examplesdir "/opt/qt-arm/examples" -opensource -fast -system-sqlite -xmlpatterns -svg -webkit -script -scripttools -no-declarative-debug -system-zlib -system-libtiff -system-libpng -system-libjpeg -optimized-qmake -dbus-linked -reduce-relocations -release -verbose -gtkstyle -system-nas-sound -openvg -lfontconfig -I/usr/include/freetype2 -qvfb -icu -no-qt3support -phonon-backend -phonon -audio-backend -multimedia -no-gtkstyle -egl -xinput -rpath -nomake demos -nomake example -continue -no-mmx -no-3dnow -no-sse -no-sse2 -no-pch
-> résultats mitigés
Compilation en cours (15.12.2012 sur la pandaboard) -> tentative en utilisant la branche XI-2.2 !=) et amélioration du chemin de destination (ajout du 4.8)
git checkout 4.8-XI2.2 ./configure -confirm-license -prefix "/opt/qt-4.8-arm" -bindir "/opt/qt-4.8-arm/bin" -libdir "/opt/qt-4.8-arm/lib/" -docdir "/opt/qt-4.8-arm/doc" -headerdir "/opt/qt-4.8-arm/qt4" -datadir "/opt/qt-4.8-arm/qt4" -plugindir "/opt/qt-4.8-arm/qt4/plugins" -importdir "/opt/qt-4.8-arm/qt4/imports" -translationdir "/opt/qt-4.8-arm/qt4/translations" -sysconfdir "/etc/xdg" -demosdir "/opt/qt-4.8-arm/demos" -examplesdir "/opt/qt-4.8-arm/examples" -opensource -fast -system-sqlite -xmlpatterns -svg -webkit -script -scripttools -no-declarative-debug -system-zlib -system-libtiff -system-libpng -system-libjpeg -optimized-qmake -dbus-linked -reduce-relocations -release -verbose -gtkstyle -system-nas-sound -openvg -lfontconfig -I/usr/include/freetype2 -qvfb -icu -no-qt3support -phonon-backend -phonon -audio-backend -multimedia -no-gtkstyle -egl -xinput -rpath -nomake demos -nomake example -continue -no-mmx -no-3dnow -no-sse -no-sse2 -no-pch
À regarder aussi:
- https://groups.google.com/forum/#!msg/pandaboard/vUZO9NWFcT0/VmV2955uEEgJ
- http://www.omappedia.com/wiki/OMAP_Ubuntu_Core
Reprise le 12.02.2013
git clone git://gitorious.org/~cspiel/qt/cspiels-qt-4_8-with-xinput2_1.git git checkout 4.8-XI2.2-touch
Modification du fichier ./mkspecs/linux-arm-gnueabi-g++/qmake.conf pour remplacer gnueabi par gnueabihf pour compilation en armhf (tentative de cross compilation avec le -xplatform) mais ça plante sur libfontconfig et autres depends qui n'existent pas en armhf sur mon pc x86 ... direction donc vers la création d'un environnement de cross compilation complet
./configure -confirm-license -prefix "/opt/qt-4.8-arm" -bindir "/opt/qt-4.8-arm/bin" -libdir "/opt/qt-4.8-arm/lib/" -docdir "/opt/qt-4.8-arm/doc" -headerdir "/opt/qt-4.8-arm/qt4" -datadir "/opt/qt-4.8-arm/qt4" -plugindir "/opt/qt-4.8-arm/qt4/plugins" -importdir "/opt/qt-4.8-arm/qt4/imports" -translationdir "/opt/qt-4.8-arm/qt4/translations" -sysconfdir "/etc/xdg" -demosdir "/opt/qt-4.8-arm/demos" -examplesdir "/opt/qt-4.8-arm/examples" -opensource -fast -system-sqlite -xmlpatterns -svg -webkit -script -scripttools -no-declarative-debug -system-zlib -system-libtiff -system-libpng -system-libjpeg -optimized-qmake -dbus-linked -reduce-relocations -release -verbose -gtkstyle -system-nas-sound -openvg -lfontconfig -I/usr/include/freetype2 -qvfb -icu -no-qt3support -phonon-backend -phonon -audio-backend -multimedia -no-gtkstyle -egl -xinput -rpath -nomake demos -nomake example -continue -no-pch -xplatform linux-arm-gnueabi-g++