QPainter does not work properly on a remote machine!
-
"run it on the remote machine" can have several meanings. If you mean you export the display to a remote machine as in DISPLAY=remote:0 then what you are seeing is reasonable since you are limited to the X11 features that the remote X11 server supports.
Try accessing the remote machine via a vncserver connection and see if you get the correct display.
-
This post is deleted!
-
@BoboFuego said in QPainter does not work properly on a remote machine!:
I mean where would the crossplatform-ness of Qt be left then!?
This is not a Qt problem but a problem on your server side - when the display is transferred via VNC the transparency got lost. Don't know how Qt should do something against this.
-
writing very unauthoritatively...probly a screwbuntu X server problem, but as CE said, not really a Qt problem. Qt widgets are presented to the X system and if the X system doesn't support or is not configured to handle them properly then weird things happen.
-
Do you at least have your graphics drivers installed? Your probably using XCB kernel drawing, if you don’t have a graphics card seperate from the CPU then please install the mesa drivers and restart X(just restart your system to be sure).
-
This post is deleted!
-
This post is deleted!
-
@BoboFuego said in QPainter does not work properly on a remote machine!:
and if this is a limitation for applications written in Qt, then it's indeed a Qt issue.
You never proved the opposite - I'm pretty sure the x driver does not support transparency over VNC and I don't see how Qt can do anything against this. Simply try it out with any other non-Qt software which shows a semi-transparent window. If it's shown correctly in your vnc viewer then we can maybe talk. But Qt is not a window manager and doesn't do something special when drawing a window on the screen.
-
@BoboFuego you are correct they are apart of the operating system, the context is missing, and context is, you have to install them. Just like how xfce is apart of the operating system but it must still be installed in order to use them.
Please attempt to install the mess drivers instead of starting context linguist battles, this is a support forum not a proverbial “rap battle”. I know for a fact Ubuntu doesn’t come with mesa drivers installed in the due to preferring the situation in that you want a “fresh” system to install specific drivers with out going through x11 display configuration to select the corrrect driver to use.