Original Attachment has been moved to: 802-mkspecs.mx5x.tar.gz
Original Attachment has been moved to: 803-qt_qpaintengine_gles1.patch
meta-qt5 is where the work should be done. Martin and I have been working on this but as I said it is not yet ready.
If the meta-qt5 integration is gonna be trivial, Can you please give me some pointers on where to start, So that i can go on with it.
You should include it in the build and fix the issues ;-)
Thank you. I ll check
Thanks for your reply .Waiting for the release :smileyhappy:
And complementing the information from Otavio, Yocto already has VPU and GPU enabled for i.MX53 by now.
QT player and hellogl_es2 have their icons on desktop if you build the image fsl-image-gui.
Ok I'm following this instructions I have a problem with Multimedia codecs I've downloading IMX_MMCODECS_11.03_Bundle.tar.gz In readme I read: After install the ltib, install the ltib patch, following the readme file inside this file Patch_for_MM_1.9.8_Ltib.zip I've already Ltib on my PC. In "ltib File" directory in Patch_for_MM_1.9.8_Ltib.zip there is 1.9.8_patch_readme.TXT where i read: After install the ltib, please replace ltib/dist/lfs-5.1/fsl- mm/gst-fsl-plugin.spec with the new one <---- Ok i've doing Put patch file "gst-fsl-plugin- 1.9.8.patch" together with gst-fsl- plugin-1.9.8.tar.gz <---- where? And after what i must do? thanks
Hi Gong,
Can you give your configure line like ./configure -arm ......etc...etc... if possible..
I am facing problems with the Qt..on ..i.MX, with webkit in src/3rdparty/......
I'm sorry, repeat
I am using qt-everywhere-opensource-src-4.7.4, and the latest L2.6.35_11.09.01_ER_source.tar.gz, In accordance with the previous post said you can, but in the end:
make[3]: Entering directory `/home/lucid/qt-everywhere-opensource-src-4.7.4/demos/spectrum/app'
make[3]: Nothing to be done for `first'.
make[3]: Leaving directory `/home/lucid/qt-everywhere-opensource-src-4.7.4/demos/spectrum/app'
make[2]: Leaving directory `/home/lucid/qt-everywhere-opensource-src-4.7.4/demos/spectrum'
make[1]: Leaving directory `/home/lucid/qt-everywhere-opensource-src-4.7.4/demos'
Please help me! Thank you very much!
./configure -arch arm -xplatform linux-g++-mx5x -release -prefix /tftpboot/ltib/usr/local/Trolltech/Qt-4.7.2-mx5x-x11 -multimedia -phonon -phonon-backend -qt-gfx-linuxfb -qt-kbd-tty -little-endian -host-little-endian -fontconfig -sm -opengl es2
fail:
Phonon support cannot be enabled due to functionality tests! Turn on verbose messaging (-v) to ./configure to see the final report. If you believe this message is in error you may use the continue switch (-continue) to ./configure to continue. lucid@ubuntu:~/qt-everywhere-opensource-src-4.7.4$ make make: *** No targets specified and no makefile found. Stop
Swamy,
I ended up solving this problem by rechecking the 'ltib' configuration. Somehow the 'EHCI HCD (USB 2.0) support' option fell out of my build so I added this back into the build and it now works. I also used Matt's suggested keyboard and mouse configuration commands from his tutorial. Hope this helps.
Regards,
Alan
Swamy said:
Hello Alan,
I am also facing the same issue as you are. If you have found the answer please share me how to configure the Mouse and Keyboard
Regards,
Swamy
Alan S. said:
Hello,
Finally succeeded in getting Qt to cross-compile correctly and I am able to run the 'fluidlauncher' demo on my QSB (appears to display correctly on my vga monitor). However, I am not able to get the mouse and keyboard to work on any demo apps. I am including output from a device listing and my DISPLAY and Xfbdev initializations. Any help would be appreciated.
Thanks,
Alan
root@freescale ~$ cat /proc/bus/input/devices
I: Bus=0019 Vendor=0001 Product=0001 Version=0100
N: Name="gpio-keys"
P: Phys=gpio-keys/input0
S: Sysfs=/devices/platform/gpio-keys/input/input0
U: Uniq=
H: Handlers=kbd event0
B: EV=3
B: KEY=1c0000 0 0 0I: Bus=0013 Vendor=15b6 Product=9052 Version=0101
N: Name="da9052-tsi"
P: Phys=input(tsi)
S: Sysfs=/devices/virtual/input/input1
U: Uniq=
H: Handlers=mouse0 event1
B: EV=b
B: KEY=400 0 0 0 0 0 0 0 0 0 0
B: ABS=1000003I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="da9052-onkey"
P: Phys=da9052-onkey/input0
S: Sysfs=/devices/platform/imx-i2c.0/i2c-0/0-0048/da9052-onkey/input/input2
U: Uniq=
H: Handlers=kbd event2
B: EV=3
B: KEY=100000 0 0 0I: Bus=0018 Vendor=0000 Product=0000 Version=0000
N: Name="mma8450"
P: Phys=
S: Sysfs=/devices/virtual/input/input3
U: Uniq=
H: Handlers=event3
B: EV=9
B: ABS=7
<t-4.7.4-mx5x-x11/demos/embedded$ export DISPLAY=:0.0<,,device=/dev/input/mice -keybd keyboard,,/dev/input/event2 &
[1] 2198
root@freescale /Trolltech/Qt-4.7.4-mx5x-x11/demos/embedded$ _XSERVTransSocketOpe
nCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/freescale:0
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6
mxc_ipu mxc_ipu: Channel already disabled 9
mxc_ipu mxc_ipu: Channel already uninitialized 9
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Error: Can't find file "xfree86" for keycodes include
> Exiting
> Abandoning keycodes file "default"
Errors from xkbcomp are not fatal to the X server
(EE) Error compiling keymap (server-0)
(EE) XKB: Couldn't compile keymap
Kbd option key (/dev/input/event2) of value ((null)) not assigned!
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Error: Can't find file "xfree86" for keycodes include
> Exiting
> Abandoning keycodes file "default"
Errors from xkbcomp are not fatal to the X server
(EE) Error compiling keymap (server-0)
(EE) XKB: Couldn't compile keymap
Quick update so the post doesn't stay unanswered: got it to work not using the system jpeg library but instead qjpeg.
Need to have LD_LIBRARY_PATH point to lib/plugins/imageformats and QTPLUGIN += qjpeg added to .pro file, then it works fine.
Hello Alan,
I am also facing the same issue as you are. If you have found the answer please share me how to configure the Mouse and Keyboard
Regards,
Swamy
Alan S. said:
Hello,
Finally succeeded in getting Qt to cross-compile correctly and I am able to run the 'fluidlauncher' demo on my QSB (appears to display correctly on my vga monitor). However, I am not able to get the mouse and keyboard to work on any demo apps. I am including output from a device listing and my DISPLAY and Xfbdev initializations. Any help would be appreciated.
Thanks,
Alan
root@freescale ~$ cat /proc/bus/input/devices
I: Bus=0019 Vendor=0001 Product=0001 Version=0100
N: Name="gpio-keys"
P: Phys=gpio-keys/input0
S: Sysfs=/devices/platform/gpio-keys/input/input0
U: Uniq=
H: Handlers=kbd event0
B: EV=3
B: KEY=1c0000 0 0 0I: Bus=0013 Vendor=15b6 Product=9052 Version=0101
N: Name="da9052-tsi"
P: Phys=input(tsi)
S: Sysfs=/devices/virtual/input/input1
U: Uniq=
H: Handlers=mouse0 event1
B: EV=b
B: KEY=400 0 0 0 0 0 0 0 0 0 0
B: ABS=1000003I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="da9052-onkey"
P: Phys=da9052-onkey/input0
S: Sysfs=/devices/platform/imx-i2c.0/i2c-0/0-0048/da9052-onkey/input/input2
U: Uniq=
H: Handlers=kbd event2
B: EV=3
B: KEY=100000 0 0 0I: Bus=0018 Vendor=0000 Product=0000 Version=0000
N: Name="mma8450"
P: Phys=
S: Sysfs=/devices/virtual/input/input3
U: Uniq=
H: Handlers=event3
B: EV=9
B: ABS=7
<t-4.7.4-mx5x-x11/demos/embedded$ export DISPLAY=:0.0<,,device=/dev/input/mice -keybd keyboard,,/dev/input/event2 &
[1] 2198
root@freescale /Trolltech/Qt-4.7.4-mx5x-x11/demos/embedded$ _XSERVTransSocketOpe
nCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/freescale:0
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6
mxc_ipu mxc_ipu: Channel already disabled 9
mxc_ipu mxc_ipu: Channel already uninitialized 9
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Error: Can't find file "xfree86" for keycodes include
> Exiting
> Abandoning keycodes file "default"
Errors from xkbcomp are not fatal to the X server
(EE) Error compiling keymap (server-0)
(EE) XKB: Couldn't compile keymap
Kbd option key (/dev/input/event2) of value ((null)) not assigned!
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Error: Can't find file "xfree86" for keycodes include
> Exiting
> Abandoning keycodes file "default"
Errors from xkbcomp are not fatal to the X server
(EE) Error compiling keymap (server-0)
(EE) XKB: Couldn't compile keymap
Hello,
I am able to compile QT4.7.4 for IMX53 SMD. But Keyboard is not working.
This is my configure file...
./configure --prefix=/usr/local/Trolltech/%{name}-%{version}-x11 -arch arm -xplatform linux-g++-mx -release \
-no-qt3support -qt-gfx-linuxfb -qt-kbd-tty -little-endian -host-little-endian -fontconfig -sm -v -opensource -confirm
Please suggest,
Regards,
Swamy
Hello,
I have compiled and ran successfuly BSP 11.09 for iMX53 QSB with Qt (4.7.2) using the great tutorial posted here.
My Qt application uses JPEGs. This application runs fine on other HW platform, but can't display the JPEG pictures in my current build on the QSB.Looking at the error code from Qt it says format not supported.Qt is configured using the command line provided with this tutorial which means it uses the system JPEG library. LTIB was compiled with libjpeg and it is indeed present in /tftpboot/ltib/usr/lib/ (both .a and .so, libjpeg.so.62). I verified they are available in /usr/lib on the QSB by using the terminal.If I use PNGs they are displayed correctly. I then recompiled Qt to use instead the Qt provided JPEG library (qt-libjpeg), then modify my app to add the Qt macros to load the plugin. Same result (format not supported). Qt is compiled in shared mode and not static due to the requirement of having phonon (which doesn't support static build).
Any idea what could be wrong?
Thanks!Greg
Hello,
Finally succeeded in getting Qt to cross-compile correctly and I am able to run the 'fluidlauncher' demo on my QSB (appears to display correctly on my vga monitor). However, I am not able to get the mouse and keyboard to work on any demo apps. I am including output from a device listing and my DISPLAY and Xfbdev initializations. Any help would be appreciated.
Thanks,
Alan
root@freescale ~$ cat /proc/bus/input/devices
I: Bus=0019 Vendor=0001 Product=0001 Version=0100
N: Name="gpio-keys"
P: Phys=gpio-keys/input0
S: Sysfs=/devices/platform/gpio-keys/input/input0
U: Uniq=
H: Handlers=kbd event0
B: EV=3
B: KEY=1c0000 0 0 0
I: Bus=0013 Vendor=15b6 Product=9052 Version=0101
N: Name="da9052-tsi"
P: Phys=input(tsi)
S: Sysfs=/devices/virtual/input/input1
U: Uniq=
H: Handlers=mouse0 event1
B: EV=b
B: KEY=400 0 0 0 0 0 0 0 0 0 0
B: ABS=1000003
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="da9052-onkey"
P: Phys=da9052-onkey/input0
S: Sysfs=/devices/platform/imx-i2c.0/i2c-0/0-0048/da9052-onkey/input/input2
U: Uniq=
H: Handlers=kbd event2
B: EV=3
B: KEY=100000 0 0 0
I: Bus=0018 Vendor=0000 Product=0000 Version=0000
N: Name="mma8450"
P: Phys=
S: Sysfs=/devices/virtual/input/input3
U: Uniq=
H: Handlers=event3
B: EV=9
B: ABS=7
<t-4.7.4-mx5x-x11/demos/embedded$ export DISPLAY=:0.0
<,,device=/dev/input/mice -keybd keyboard,,/dev/input/event2 &
[1] 2198
root@freescale /Trolltech/Qt-4.7.4-mx5x-x11/demos/embedded$ _XSERVTransSocketOpe
nCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/freescale:0
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6
mxc_ipu mxc_ipu: Channel already disabled 9
mxc_ipu mxc_ipu: Channel already uninitialized 9
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Error: Can't find file "xfree86" for keycodes include
> Exiting
> Abandoning keycodes file "default"
Errors from xkbcomp are not fatal to the X server
(EE) Error compiling keymap (server-0)
(EE) XKB: Couldn't compile keymap
Kbd option key (/dev/input/event2) of value ((null)) not assigned!
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Error: Can't find file "xfree86" for keycodes include
> Exiting
> Abandoning keycodes file "default"
Errors from xkbcomp are not fatal to the X server
(EE) Error compiling keymap (server-0)
(EE) XKB: Couldn't compile keymap
I also had a similar problem like you: .obj/release-shared/xxxx.o: file not recognized: File truncated
I fixed it by doing the following:
$ cd rpm/BUILD/qt-everywhere-opensource-src-4.7.4/src/3rdparty/webkit
$ make clean
$ cd -
Then if building qt from ltib run:
$ ./ltib -c
else if building qt directly from sources:
$ make
Hello,
I am using 4.7.4. I am getting following error. Can anyone please suggest.I need webkit.
ctor.o .obj/release-shared/qrc_WebCore.o .obj/release-shared/qrc_WebKit.o -L/home/lucid/ltib/rpm/BUILD/qt-everywhere-opensource-src-4.7.4/lib -L../JavaScriptCore/release -L/home/lucid/ltib/rpm/BUILD/../../rootfs/usr/lib -ljscore -L/home/lucid/ltib/rpm/BUILD/qt-everywhere-opensource-src-4.7.4/lib -L/home/lucid/ltib/rpm/BUILD/../../rootfs/usr/lib -lQtGui -lQtNetwork -lQtCore -lz -lxcb -lXau -lxcb-xlib -lXext -lXrender -lX11 -lfreetype -lexpat -lfontconfig -lSM -lpng -lICE -lxml2 -lasound -lglib-2.0 -lgobject-2.0 -lgthread-2.0 -lgmodule-2.0 -lgstreamer-0.10 -lEGL -lgsl-fsl -lGLESv2 -lpthread -lXrender -lfreetype -lfontconfig -lXext -lX11 -lm
.obj/release-shared/JSDOMWindow.o: file not recognized: File truncated
collect2: ld returned 1 exit status
make[1]: *** [../../../../lib/libQtWebKit.so.4.7.4] Error 1
make[1]: Leaving directory `/home/lucid/ltib/rpm/BUILD/qt-everywhere-opensource-src-4.7.4/src/3rdparty/webkit/WebCore'
make: *** [sub-webkit-make_default-ordered] Error 2
error: Bad exit status from /home/lucid/ltib/tmp/rpm-tmp.89544 (%build)
Regards,
Swamy
By default if we select from LTIB, it asks for 4.6.0 file. How shall I make it to take QT 4.7.4.
Also please do send me the build command and procedure to include the QT 4.7.4 in my LTIB
Regards,
Swamy