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. Re-Occuring problem when using QX11EmbedContainer::embedClient()

Re-Occuring problem when using QX11EmbedContainer::embedClient()

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 154 Views
  • 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.
  • W Offline
    W Offline
    walle19
    wrote on last edited by
    #1

    Re: Problem with successive attempts to embed external app in QT Widget

    Hi All,

    Qt Version: 4.7.1 - Old but I am constrained to it
    OS: Linux Kubuntu 14

    When using QX11EmbedContainer::embedClient(WId) I experience the following issue:
    The application is embedded with some offset from the bottom of the container widget.

    If I manually resize the main window of the application (by double clicking the upper frame) and press the "restore" button on the top right of the main window (to bring it back to full size) , magically the embedded application fits properly in the QX11EmbedContainer* container object.

    I tried to solve this problem by calling: container->resize(random width, random height)
    immediately after the embedClient() call. It didn't help

    Has anyone got an idea how this may be solved?
    Best Regards

    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