Hi Dennis,
basically I copied

mkspecs/linux-arm-gnueabi-g++

to

mkspecs/linux-arm-gnueabihf-g++

and then modified

mkspecs/linux-arm-gnueabihf-g++/qmake.conf

in order to point to my cross-compilation tool-chain (the one included in 
TI AM335x EVM SDK 6.00.00).

Then I made:

./configure -prefix /opt/qt5 -opensource -confirm-license -platform linux-g
++ -no-icu -no-cups -no-nis -no-dbus -no-glib -no-pch -no-accessibility 
-no-gtkstyle 
-no-xcb -eglfs -no-directfb -xplatform linux-arm-gnueabihf-g++ -opengl es2 
-nomake 
examples -nomake tests -v

Then:

make && make install

I haven't do anything special about SGX drivers, using the stock one 
provided by TI pre-built images. Do you think that I should recompile 
somehow SGX drivers? Why?

Then I just setup QT Creator for using my just-built QT version with the 
toolchain coming from TI SDK. Then on the target board I launch the 
application simply exporting the following variables:

export LD_LIBRARY_PATH=/opt/qt5/lib
export QT_PLUGIN_PATH=/opt/qt5/lib/plugins

and then I launch my application (testapp) specifying the QPA backend to be 
used:

$ ./testapp -platform eglfs


That's it! Do you need some other info?



Il giorno giovedì 3 aprile 2014 00:14:37 UTC+2, Dennis Cote ha scritto:
>
> On Wednesday, March 26, 2014 7:23:34 AM UTC-6, [email protected] wrote:
>>
>> I’ve just cross-compiled QT 5.2.1 for ARM and I am using it on a TI 
>> AM335x EVM (Starter Kit) board.
>>
>
> Hi,
>
> Would you be able to describe in detail the process you used to build and 
> run QT 5.2, and the SGX 3D graphics accelerator drivers? If not, could you 
> point me to the instructions you used?
>
> Thanks.
> Dennis Cote  
>

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to