Unsolved [SOLVED] Is there any non-xcb dependent example ?
I have successfully cross compiled the Qt-5.3.2
I have configured it with -no-xbc -opengl
But on trying any of the examples it always gives the following error:
" could not find or load the Qt platform plugin "xcb"
Is there any example which does not depends on xcb ?
When you exclude xcb plugin, you don't have display platform to show your gui application, so that is the reason you are getting that error :)
Without xcb plugin you can only display non-gui applications.
But I am not sure I understand.
I am using embedded platform which supposed to use opengl/sgx/linuxfb inetrafces.
Why it doesn't use it ?
It uses xcb by default, if you want to use the other available platforms you need to pass it as argument when starting your application.
Read more here http://doc.qt.io/qt-5/embedded-linux.html
You are right.
I needed to run with "-platform eglfs"
But now I still get a new error:
root@dm814x:/examples/widgets/painting/basicdrawing# ./basicdrawing -platform eglfs
QIconvCodec::convertToUnicode: using Latin-1 for conversion, iconv_open failed
QIconvCodec::convertFromUnicode: using Latin-1 for conversion, iconv_open failed
This application failed to start because it could not find or load the Qt platform plugin "eglfs".
After cross compile I copied the installed folder to target. The libGLES*.so is in /plugins/platform root folder.
Is it supposed to find it there or should I add that folder to LD_LIBRARY_PATH ?
I also tried to copy all that folder contents into /lib in target but it still complains:
Any ideas ?
@ranshalit Why are you using EGLFS when you have possibility to use xcb plugin and Linux X11 windowing system? Read this carefully http://doc.qt.io/qt-5/linux-requirements.html.
Right. Thank you very much
@ranshalit You're welcome. :-)
SGaist Lifetime Qt Champion last edited by
On an unrelated note, there's not need to change the title anymore, just use the "Topic Tool" button to mark the thread as solved :)