QX11EmbedContainer not painting properly



  • I have created a class based on QX11EmbedContainer (Qt4). When I create and show this as part of the startup process, the container client area is beige and when I embed another window it displays correctly. However, if I create it later within the same class, in response to a signal, its client area is black and the embedded window is not displayed. I have tried setting the background to red using setPalette, and in that case I can see a thin band of red on 2 sides of the black area.
    Can anyone please give a me any pointers as to what the problem might be?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.