Hello all,

Does anyone know what the minimum install is needed to get a Qt4 program to 
run on a BeagleBone Black?

I'm trying to get a kiosk type program running with a 7" touchscreen. I 
have tried various LCD capes and have narrowed it down to a Newhaven 
NHD-7.0CTP-CAPE. That screen has a capacitive touch instead of a resistive 
touch and seems to work a lot better. The capacitive touch doesn't have the 
calibration issues I saw with the resistive touch.

Starting with this image:

https://rcn-ee.net/rootfs/bb.org/testing/2018-01-14/stretch-console/ 

I have verified that the LCD and touch work using the ts_test program from 
the libts-bin package (thank Robert for adding the libts packages!).

I have also tested the LCD and touch with SDL1.2 (again thanks to Robert 
for adding libsdl1.2* with directfb and libts support!).

Pygame also works fine with the updated libsdl1.2*.

Great! I know the screen "works". Now hoe do I get a Qt4 program to work? I 
have tried a simple program but when I run it I get:

$ ./test
test: cannot connect to X server

The '-qws' switch also doesn't work. I think this is due to the Qt4 library 
not being compiled with the --embedded option (and possible other..).

I have also tried to use xvfb (Virtual Framebuffer 'fake' X server). But it 
either doesn't work or I'm doing something wrong. When I try to run the 
test app I don't get any error messages but nothing happens.

I don't want to use a full X11 install due to the bloat. I just need a 
working X server so that the Qt4 program will run. I could try building Qt4 
with the necessary options but last time I tried it didn't work. I was able 
to get the program to run on the LCD but the touchscreen didn't work. Of 
course that was with a resistive not the capacitive touchscreen. The other 
problem was it takes something like 40 hours to build Qt4. Agh...

Regards,
Hartley

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/82cae07b-2174-4439-ae0c-756cb5a3497c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to