Hello again,

Well I tried to use tslib-calibrate but the problem is that it isn't on the 
Ubuntu's repository (I don't use Angstrom)... If someone has an idea..^^

Le lundi 17 février 2014 14:41:16 UTC+1, Franck freedev a écrit :
>
>
> Hello,
>
> I'm trying to cross compile Qt SDK for BBB (with Ubuntu or Debian).
>
> I managed to compile it well with -*embedded arm* option  ...
>
> But with this option I have to execute my programs with -qws option.. And 
> I have some issues with the mouse pointer, it doesn't clic where I want and 
> it move my application windows .. I guess it's because I use a touch screen 
> and the calibration needs X11 maybe...?? 
>
> So I would like to cross compile Qt without the *-embedded arm *option to 
> support and use X11 .. but I need X11 libs for ARM to do this.. so I tried 
> a chroot on a minimal arm file system ubuntu on my PC desktop and link to 
> this librairy in the qmake.conf  and made this:
>
>
> ./configure -opensource -confirm-license -prefix 
>> /usr/local/Qt-4.8.5-arm-X11 -xplatform linux-arm-gnueabi-g++
>>
>
> But it doesn't work..
>
> I've got this error message:
>
>  
>
> Basic XLib functionality test failed!  
>>
> You might need to modify the include and library search paths by editing 
>>
>  QMAKE_INCDIR_X11 and QMAKE_LIBDIR_X11 in 
> /home/franck/qt-everywhere-opensource-src-4.8.5/mkspecs/linux-arm-gnueabi-g++.
>  
>>
>>
>
>  
>
> and here is my qmake.conf:
>
>     
>> franck@VB:~/qt-everywhere-opensource-src-4.8.5/mkspecs/linux-arm-gnueabi-g++$
>>  
>> cat qmake.conf   
>>     #  
>>     # qmake configuration for building with arm-linux-gnueabi-g++  
>>     #  
>>       
>>     MAKEFILE_GENERATOR      = UNIX  
>>     TARGET_PLATFORM         = unix  
>>     TEMPLATE                = app  
>>     CONFIG                  += qt warn_on release incremental link_prl 
>> gdb_dwarf_index  
>>     QT                      += core gui  
>>     QMAKE_INCREMENTAL_STYLE = sublib  
>>       
>>     include(../common/linux.conf)  
>>     include(../common/gcc-base-unix.conf)  
>>     include(../common/g++-unix.conf)  
>>       
>>     QMAKE_INCDIR_X11       
>> +=/home/franck/chroot-armhf/fs/usr/include/X11/  
>>     QMAKE_LIBDIR _X11      
>> +=/home/franck/chroot-armhf/fs/usr/lib/arm-linux-gnueabihf/  
>>       
>>     # modifications to g++.conf  
>>     QMAKE_CC                = 
>> /home/franck/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/bin/arm-linux-gnueabihf-gcc
>>   
>>
>>     QMAKE_CXX               = 
>> /home/franck/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/bin/arm-linux-gnueabihf-g++
>>   
>>
>>     QMAKE_LINK              = 
>> /home/franck/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/bin/arm-linux-gnueabihf-g++
>>   
>>
>>     QMAKE_LINK_SHLIB        = 
>> /home/franck/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/bin/arm-linux-gnueabihf-g++
>>   
>>
>>       
>>     # modifications to linux.conf  
>>     QMAKE_AR                = 
>> /home/franck/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/bin/arm-linux-gnueabihf-ar
>>  
>> cqs  
>>     QMAKE_OBJCOPY           = 
>> /home/franck/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/bin/arm-linux-gnueabihf-objcopy
>>   
>>
>>     QMAKE_STRIP             = 
>> /home/franck/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/bin/arm-linux-gnueabihf-strip
>>   
>>
>>       
>>     load(qt_config)  
>>
>
>
>
> So I decided to compile Qt SDK directly in the arm file system "chrooted":
>
> I made 
>
> ./configure -opensource -confirm-license -prefix 
>> /usr/local/Qt-4.8.5-arm-X11 -no-qt3support -nomake demos -nomake examples
>>
>
> Now I've got this error message:
>
> make[1]: *** [../../lib/libQtCore.so.4.8.5] Error 1
>> make[1]: Leaving directory 
>> `/home/ubuntu/qt-everywhere-opensource-src-4.8.5/src/corelib'
>> make: *** [sub-corelib-make_default-ordered] Error 2
>>
>>
> If someone has an idea.. ^^
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to