Unsolved Qt gui on beaglebone lcd 4.3 cape display not connected
I try run QT gui software on beaglebone lcd 4.3 cape. I use image from https://www.waveshare.com/wiki/LCD_CAPE_(4.3inch) this.
I close x server
update-rc.d -f gdm remove
systemctl disable gdm.service
Next i try run my program, but get error.
root@beaglebone:~/example# LD_LIBRARY_PATH=. ./example -qws
QIconvCodec::convertToUnicode: using Latin-1 for conversion, iconv_open failed
QIconvCodec::convertFromUnicode: using Latin-1 for conversion, iconv_open failed
QXcbConnection: Could not connect to display
How fixed error ?
Hi and welcome to devnet,
Looks like you are trying to start a Qt 4 application but you built it with Qt 5. Is that the case ?
I build helloworld in qt5 with cross toolchain for arm angstrom beaglebone. This is not Qt4 application, i do mistake about parametr -qws not used in qt5.
-qwsparameter doesn't make any sense.
Note that you are killing the Window manager and using the xcb backend to show your application. That's going to be problematic. Either let gdm run or use a different backend for your software.
@SGaist, can give me link how cross build qt5 without xcb backend. I want x-server linux close and show my qt programm form on console framebuffer.
Did you check whether you don't already have several backends at your disposal ?