I want to make applications for beagleboard with Qt-embedded.
I have:
1.Angstrom console-image on the beagleboard
2. installed qt-embedded with "opkg install qt-embedded"
3. when i start "qt-demo -qws" it works fine!
4. then i downloaded the qt-embedded file from Qt
5. i changed the qmake file for my toolchain
6. and used "./configure -embedded arm -xplatform qws/linux-arm-g++ -
qt-gfx-linuxfb -qt-gfx-transformed -nomake examples -nomake demos"
to compile it. --> it compiles with no problems!
7. Then i write a simple hello world application and transfered it to
the beagleboard
8. when i start "./hello -qws" it shows me something like "X-Server
not found"
I want to make applications for beagleboard with Qt-embedded.
I have:
1.Angstrom console-image on the beagleboard
2. installed qt-embedded with "opkg install qt-embedded"
3. when i start "qt-demo -qws" it works fine!
4. then i downloaded the qt-embedded file from Qt
5. i changed the qmake file for my toolchain
6. and used "./configure -embedded arm -xplatform qws/linux-arm-g++ -
qt-gfx-linuxfb -qt-gfx-transformed -nomake examples -nomake demos"
to compile it. --> it compiles with no problems!
7. Then i write a simple hello world application and transfered it to
the beagleboard
8. when i start "./hello -qws" it shows me something like "X-Server
not found"
what have i done wrong?
Try to use 'meta-toolchain-qte' found in .dev branch. It works for me.
We are developing software using Qt on Beagle for several of our customers.
Although they will probably not use the actual beagleboard for their volume
shipments, it makes a good development platform while they complete their
hardware design.
In the thread below, please consider the following change:
(6) Create/modify /etc/powervr.ini and not powerver.ini to include the lines below:
[default]
WindowSystem=libpvrQWSWSEGL.so
It seems that with the qt-e, the hellogl_es demo works for GLES1.1 and 2.0, but applications using QGLWidget like 2dpainting found under examples/opengl [http://doc.trolltech.com/4.4/opengl-2dpainting.html] does not work and throws an error.
It seems that with the qt-e, the hellogl_es demo works for GLES1.1 and 2.0, but applications using QGLWidget like 2dpainting found under examples/opengl [http://doc.trolltech.com/4.4/opengl-2dpainting.html\] does not work and throws an error.
Please let me know if anybody got it working.
I have not tried to run it but will let you know if it works.
I tried to run openvg example (qt/examples/openvg/star) on Beagle but
it failed because we need an updated or a separate screen driver
plugin for PVR OpenVG implementation. Also -graphicssystem switch
doesn't work for QWS.
Hello Amit,
I am trying to build QT libraries with OpenVG support for beagleboard.
I am using the following configure options:
./configure -prefix /opt/qt-embedded/ -embedded arm -little-endian -
fast -D QT_NO_QWS_CURSOR -D QT_QWS_CLIENTBLIT -depths 16,24,32 -
xplatform qws/linux-omap3-g++ -arch arm -no-xinerama -no-xkb -openvg -
plugin-gfx-powervr -qt-mouse-pc -no-openssl -no-cups -no-phonon -no-
largefile -no-qt3support -no-xmlpatterns -no-webkit -no-stl
But getting the following error:
from pvreglscreenplugin.cpp:42:
/home/omap3/OMAP35x_Graphics_SDK_new/GFX_Linux_SDK/OVG/SDKPackage/
Builds/OVG/Include/GLES/egl.h:186: error: expected initializer before
'eglGetError'
/home/omap3/OMAP35x_Graphics_SDK_new/GFX_Linux_SDK/OVG/SDKPackage/
Builds/OVG/Include/GLES/egl.h:188: error: expected initializer before
'eglGetDisplay'
/home/omap3/OMAP35x_Graphics_SDK_new/GFX_Linux_SDK/OVG/SDKPackage/
Builds/OVG/Include/GLES/egl.h:189: error: expected initializer before
'eglInitialize'
/home/omap3/OMAP35x_Graphics_SDK_new/GFX_Linux_SDK/OVG/SDKPackage/
Builds/OVG/Include/GLES/egl.h:190: error: expected initializer before
'eglTerminate'
/home/omap3/OMAP35x_Graphics_SDK_new/GFX_Linux_SDK/OVG/SDKPackage/
Builds/OVG/Include/GLES/egl.h:192: error: expected initializer before
'eglQueryString'
I guess you were able to sucessfully build the QT libraries with the
OpenVG support.
Also,i am using the latest QT source from the http://qt.gitorious.org/qt.
Thanks for the concern and highly appreciate your help.
I managed to compile QT with openvg support,
Before running the star example,i set the powervr screen driver
export QWS_DISPLAY="powervr"
Than when i run the OpenVG example star using the command
./star -qws -graphicssystem openvg
or ./star -qws
I get an error has:
powervr: driver not found
Aborted.
Are you getting the same error or were you able to run the example.
Hi Michael,
I think that you should try with an Angstrom image with X11 support like “x11-image” instead of “console-image”. I didn’t do it myself but it could be a good test.