Hi Tomasz,
After I've installed the qt5-wayland, I launch the hellogl_es2, get the
below error message,
root:/home/app/qtlib> ./hellogl_es2
Failed to create display (No such file or directory)
-----Original Message-----
From: Tomasz Olszak [mailto:[email protected]]
Sent: Tuesday, June 10, 2014 5:54 AM
To: Jacky (ZhiJun) Ni
Cc: [email protected]
Subject: Re: help~Try to run hellogl_es2 faild on
tizen_20140422.1_ivi-release-mbr-i586-sdb.raw.bz2 failed
2014-06-09 11:37 GMT+02:00 Jacky (ZhiJun) Ni <[email protected]>:
> It also got the error message after I use this cmd: ./hellogl_es2
> -platform wayland
>
>
>
> root:/home/app/qtlib> ./hellogl_es2 -platform wayland
>
> This application failed to start because it could not find or load the
> Qt platform plugin "wayland".
>
>
>
> Reinstalling the application may fix this problem.
>
> Aborted (core dumped)
>
>
>
> From: IVI [mailto:[email protected]] On Behalf Of Jacky
> (ZhiJun) Ni
> Sent: Monday, June 09, 2014 5:36 PM
> To: [email protected]
> Subject: help~Try to run hellogl_es2 faild on
> tizen_20140422.1_ivi-release-mbr-i586-sdb.raw.bz2 failed
>
>
>
> Hi all,
>
> I’ve setup qt5.3 wayland environment on ubuntu12.04, and
> built out the hello_es2 example, then I copy it to my VTV device which
> has been installed the 2014022_tizen_ivi. Try to launch it on the
> Wayland Terminal and SSH client, both get the below error messages:
>
>
>
> ./hellogl_es2
>
> This application failed to start because it could not find or load the
> Qt platform plugin "wayland".
>
> Reinstalling the application may fix this problem.
>
>
>
>
>
> Use the ldd seems well for hellogl_es2:
>
> root:/home/app/qtlib> ldd hellogl_es2
>
> linux-gate.so.1 (0xb778f000)
>
> libQt5OpenGL.so.5 => /lib/libQt5OpenGL.so.5 (0xb7722000)
>
> libQt5Widgets.so.5 => /lib/libQt5Widgets.so.5 (0xb70b0000)
>
> libQt5Gui.so.5 => /lib/libQt5Gui.so.5 (0xb6c49000)
>
> libQt5Core.so.5 => /lib/libQt5Core.so.5 (0xb6770000)
>
> libGLESv2.so.2 => /lib/libGLESv2.so.2 (0xb6769000)
>
> libstdc++.so.6 => /lib/libstdc++.so.6 (0xb667c000)
>
> libm.so.6 => /lib/libm.so.6 (0xb6636000)
>
> libc.so.6 => /lib/libc.so.6 (0xb6488000)
>
> libpthread.so.0 => /lib/libpthread.so.0 (0xb646b000)
>
> libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb644d000)
>
> libpng12.so.0 => /lib/libpng12.so.0 (0xb6424000)
>
> libz.so.1 => /lib/libz.so.1 (0xb640d000)
>
> libicui18n.so.48 => /lib/libicui18n.so.48 (0xb6234000)
>
> libicuuc.so.48 => /lib/libicuuc.so.48 (0xb60cc000)
>
> libdl.so.2 => /lib/libdl.so.2 (0xb60c6000)
>
> libglib-2.0.so.0 => /lib/libglib-2.0.so.0 (0xb5fc1000)
>
> librt.so.1 => /lib/librt.so.1 (0xb5fb8000)
>
> /lib/ld-linux.so.2 (0xb7790000)
>
> libdrm.so.2 => /lib/libdrm.so.2 (0xb5faa000)
>
> libglapi.so.0 => /lib/libglapi.so.0 (0xb5f93000)
>
> libicudata.so.48 => /lib/libicudata.so.48 (0xb4e23000)
>
> libpcre.so.1 => /lib/libpcre.so.1 (0xb4dc3000)
>
>
>
>
>
> Best Regards,
>
> Jacky Ni
>
>
Sorry for late response,
Check if you have qt-wayland installed.
Just try:
zypper in qt5-qtwayland
If it is installed just try to run application with QT_DEBUG_PLUGINS=1 as
Thiago suggested and paste the issue here.
PS: Just have in mind that latest ivi repositories contains Qt 5.3 (and it is
in ivi for about 2 weeks). If you have image built before adding Qt 5.3 to ivi
it is highly possible that your application will not run. Qt is backward
compatible so you can't link application built with Qt 5.3 to Qt 5.2.
--
regards,
Tomasz Olszak
Qt for Tizen | http://qt-project.org/wiki/Tizen
CONFIDENTIALITY NOTICE: The information contained in this message may be
privileged and/or confidential. If you are not the intended recipient, or
responsible for delivering this message to the intended recipient, any review,
forwarding, dissemination, distribution or copying of this communication or any
attachment(s) is strictly prohibited. If you have received this message in
error, please notify the sender immediately, and delete it and all attachments
from your computer and network.
_______________________________________________
IVI mailing list
[email protected]
https://lists.tizen.org/listinfo/ivi