Installing QT 5 for embedded system and some general questions.
-
Nobody? Anybody?
Perhaps I can shorten my above post by first asking only the following:
In QT 4.8 there was a QT for Embedded Linux and QT for Linux/X11. No such distinction exists in QT 5. As I understand it the difference between mentioned QT 4.8 versions is that one is built on top of X11 and the other implements its own Window system, the QWS (QT Window Server which works directly with the framebuffer).
Is my understanding described above correct and if so, where did QT 5 for Embedded Linux go? How does one install QT 5 for embedded Linux?Thanks.
-
Lets have one place to continue the discussion,
http://e2e.ti.com/support/dsp/sitara_arm174_microprocessors/f/791/p/238994/837724.aspx#837724
Its generally easier to track this way.
-
prabindh:
Thank's for reply.
My environment IMac, Macbook pro.
BBxM:
I get de demo from http://downloads.angstrom-distribution.org/demo/beagleboard/
Expand it and make a disk image via dd command.
Already plugged and booted opkg update
opkg install qt4-x11-free
opkg install qmake2
opkg remove --force-depend libgcc-s-dev
opkg install qt4-x11-free-dev
opkg install qt4-x11-free-doc
opkg install task-native-sdk
source /usr/share/qt4/enviroment-setup
Create a simple Hello Word -> qmake2 -> make
Compile and run OK.
Problems:
-I don't find how to do that with qt5.
-Video performance is very, very bad.Pandaboard RevC:
get de Ubuntu server 10.04 image from http://Texas Instruments OMAP4 (Hard-Float) preinstalled server image
Expand it and make a disk image via dd command.
Already plugged and booted:
~sudo apt-get update
~sudo apt-get upgrade
~sudo apt-get clean
~sudo reboot
~sudo apt-get install openssh-server
~sudo apt-add-repository ppa:tiomap-dev/release
~sudo apt-get update
~sudo apt-get dist-upgrade --yes
~apt-get install ubuntu-omap4-extras u-boot-tools --yes --force-yes
~sudo apt-get install --reinstall pvr-omap4-dkms
~sudo nano /boot/boot.script
Edit “mem=1G@0×80000000”
~sudo flash-kernel --update-bootloader
~sudo reboot
~sudo nano /etc/fstab
Comment the last line #/SWAP.swap none swap sw 0 0
From here connect via ssh
~sudo apt-get install ubuntu-restricted-extras
Way1
~$ sudo apt-add-repository ppa:ubuntu-sdk-team/ppa
~sudo apt-get update
~sudo apt-get autoremove
~sudo apt-get clean
~sudo flash-kernel --update-bootloader
~sudo reboot
Way2
/usr/bin/alsaucm -c PandaES set _verb HiFi
sudo /usr/sbin/flash-kernel --update-bootloader
sudo apt-get install build-essential git pkg-config libqt4-dev qt4-qmake
sudo apt-get install libicu48
sudo apt-get autoremove
sudo apt-get install --reinstall ubuntu-omap4-extras u-boot-tools --yes --force-yes
sudo flash-kernel --update-bootloader
sudo reboot
Results:
Way1 Video player stop working, show a black screen, qtCreator does'n work, empty windows.
Way2 don't compile, because don't found dependencies(I think), I don't find environments-setup.Described above is an excerpt, actually I spend days writing, like a monkey a lot of commands many times without know what I was doing.
I'm started from scratch at least four times each day, I'm an experienced programmer but installations make me crazy.
Thanks for your time and apologize my poor english. -
The Beagle does not have a DRM sgx driver yet. But on Pandaboard, have you tried working with the details provided in the post below ?
http://tigraphics.blogspot.in/2013/08/qt5-with-kms-omap5-jacinto6.html
If working with a no opengl, or no display option is acceptable for your development purpose for now, you can use the instructions for building Qt5 for Beaglebone at,
-
Hi. In my case I use Raspberry PI with Qt and freepascal. I'm not sure Raspberry PI is similar to BeagleBone.
Normally I write the application with my pc and then, with an emulated machine (using QEmu) I compile my program for arm.
In order to compile Qt on QEmu you have to download the Qt source, delete the webkit directory and then with ./configure make make install you have Qt on arm. -
prabindh:
Thank for the answer, I will try.
As I say before my environment is MAC, and I 'm avoiding install Ubuntu in a virtual machine until now because I have a bad experience with Virtualbox in the past. That's the reason I'm looking for a precompiled image with QT5 or a package I can install in the target via package manager.
But if the only way is do by my self in the host, I will install Virtualbox, Ubuntu, and the SDK in order to generate the image with QT5 included.
Thank one more time.mrdebug:
I don't know the differences between Raspberry PI an Pandaboard, I will take in consideration your comments.
Thank for your answer.I afraid next weekend will be a nightmare.