Results 1 to 4 of 4

Thread: Pros and Cons of QX11EmbeddedContainer....

  1. #1
    Join Date
    May 2011
    Posts
    22
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows Maemo/MeeGo

    Default Pros and Cons of QX11EmbeddedContainer....

    Pros:

    1.Embed third party applications in the container widget allowing integration of QT with third party application.

    2.Follows XEmbed protocol which allows embedding the XEmbed widgets to be embedded to the container.

    3.Can embed Xembed widget, but the windows ID of the widget needs to be passed on to the container.

    Cons:

    1. In case of third party applications the windows ID of the application needs to be passed on to the container to embed the application to the container.

    2.There is no way container or QT can know the windows ID of the application thereby the application cannot be embedded to the container programmatically.

    3.The windows ID of third party applications can be obtained manually by the xwininfo command from the command prompt. But for practiacal purpose this method is of no use for any integrated application containing QT container and third party application.

    4. If the above points are true then practically there is of no use for QX11EmbeddedContainer in QT.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Pros and Cons of QX11EmbeddedContainer....

    Quote Originally Posted by in_dbasu View Post
    2.There is no way container or QT can know the windows ID of the application thereby the application cannot be embedded to the container programmatically.
    It works the other way round. You pass your window id to the other application.

    4. If the above points are true then practically there is of no use for QX11EmbeddedContainer in QT.
    MPlayer is an often used application embedded with XEmbed.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    May 2011
    Posts
    22
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows Maemo/MeeGo

    Default Re: Pros and Cons of QX11EmbeddedContainer....

    The point remains the same isn'it...whether the application will be embedded on the container depends upon the third party application which the programmer does not have any control over..if the application does not receives the Window ID of the container or if the application does not provides its own window id then the application can not be embedded to the embedded container.

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Pros and Cons of QX11EmbeddedContainer....

    Quote Originally Posted by in_dbasu View Post
    The point remains the same isn'it...
    No, not really.

    whether the application will be embedded on the container depends upon the third party application which the programmer does not have any control over..if the application does not receives the Window ID of the container or if the application does not provides its own window id then the application can not be embedded to the embedded container.
    I don't see your point. Nobody said you could use XEmbed with any possible application. Both applications have to support the protocol. One provides a canvas to render to by passing its window id to the other application (usually via a commandline argument) and the other uses the id to embed itself in a given window.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Style Sheets & Pros and Cons on Qt.
    By BingoMaster in forum Newbie
    Replies: 1
    Last Post: 26th September 2009, 09:13

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.