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
and off
systemctl disable gdm.serviceNext 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
AbortedHow 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 ?
-
So the
-qws
parameter 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.
-
Did you check whether you don't already have several backends at your disposal ?