[Interest] Run Qt Widget program with minimal Xorg installation on Linux

ruslan ruslan at khvmntk.ru
Fri Jan 9 06:40:53 CET 2015


Hello!
My target is to run simple Qt application witch uses Qt Widgets ( not
console app) on remote VPS.
So I installed minimal set of Xorg and also Blackbox to have some simple
WM. To see it I also installed x11vnc.
Up to this point everything work well. I can connect to my VPS with VNC
client and I can run X apps, like xclock.
I installed Qt 5.4 with graphical installer without problem. But while
running a simple test program I get lots of errors:

|QWidget::paintEngine: Should no longer be called
QPainter::begin: Paint device returned engine == 0, type: 1
QWidget::paintEngine: Should no longer be called
QPainter::begin: Paint device returned engine == 0, type: 1
QPainter::save: Painter not active
---
etc., about 100 lines

Ok, I've run the program with -platform linuxfb, activated framebuffer but I still get same errors as below.
|

What I do wrong or how can I run Qt non console program on remote server?




-- 
-------------------------------
/Best regards,
Ruslan/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20150109/55e954ac/attachment.html>


More information about the Interest mailing list