Hello everyone
I’m new on Qt on arm linux. I’m trying to cross compile the newest version Qt 5.4 for Beaglebone Black(BBB). I think I almost successed because I finished configure and make of Qt 5.4 based on root file system on BBB. When I try to run an example, the GUI shows up but the linux is dead and there is no response from keyboard and mouse. The only thing I can do is to reset BBB. Could someone help me with this problem? I will describe my steps as follow:
1. Build Ubuntu SD card
For this step, I followed the following website:
https://eewiki.net/display/linuxonarm/BeagleBone+Black
Kernel version:
Linux arm 3.18.0-bone1 #1 Mon Dec 8 23:08:59 EST 2014 armv71 armv71 armv71 GNU/Linux
Root file system:
Ubuntu 14.04.1 LTS
Cross compiler:
arm-linux-gnueabihf-gcc (crosstool-NG linaro-1.13.1-4.9-2014.09 – Linaro GCC 4.9-2014.09) 4.9.2 20140904 (prerelease)
The SD card just works fine.
2. Build and install SGX driver
Also, I followed the SGX part of the following website
https://eewiki.net/display/linuxonarm/BeagleBone+Black
The demo program OGLES2ChameleonMan works fine.
3. Build Qt 5.4
(1) Download Qt 5.4 source qt-everywhere-opensource-src-5.4.0.tar.gz
http://download.qt-project.org/archive/qt/5.4/5.4.0/single/
(2) Configure Qt 5.4
copy the newest cross compiler library to root file system (otherwise the configure has errors)
edit /qtbase/mkspecs/devices/linux-beaglebone-g++/qmake.conf
configure
configure result
make and make install just work fine.
4. Run Qt examples
Before run Qt examples, again, I need to copy some cross compiler’s lib file into SD card, otherwise it has errors when execute program.
On BBB, I neet to export LD_LIBRARY_PATH
Now, I can run Qt examples
At this moment, the GUI shows on the screen. However, there is no mouse cursor and the keyboard doesn’t response. I can still see the terminal’s text cursor flashing. The only thing I can do now is to reset BBB. I also tried several other examples and all yield the same result. No mouse cursor and keyboard response.
Does any one know what should I do to fix this problem? Thanks!
At this moment, the GUI shows on the screen. However, there is no mouse cursor and the keyboard doesn’t response. I can still see the terminal’s text cursor flashing. The only thing I can do now is to reset BBB. I also tried several other examples and all yield the same result. No mouse cursor and keyboard response.
Does any one know what should I do to fix this problem? Thanks!
--
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...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/0wRSkdaWOJw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.