Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QX11EmbedContainer not painting properly
Qt 6.11 is out! See what's new in the release blog

QX11EmbedContainer not painting properly

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 621 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    nezza
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved