Results 1 to 2 of 2

Thread: Two Qt apps getting bleed-through effect

  1. #1
    Join Date
    Apr 2009
    Posts
    63
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Windows
    Thanks
    1
    Thanked 1 Time in 1 Post

    Default Two Qt apps getting bleed-through effect

    I have two Qt applications that I am running on separate framebuffers on an Embedded Linux OS on PowerPC (though even if they run on the same framebuffer the problem still exists). So one of the applications has its background set as the "clear color" as set up in the device's color map, hence when running the two apps at the same time it shows one essentially being on top of the other (i.e. you see both... one app is an overlaid on-screen menu type app with just some buttons showing). The problem is that when moving the mouse around, I see a kind of "bleed-through" effect... it just paints the areas that I move the mouse over (on the "background" app). It doesn't matter if I turn mouse or mouse tracking off in one app. Both apps are full screen (windowless), but it also doesn't matter if one app isn't full screen... when running it there is a green background that appears and takes up the whole screen behind the app (seems to be how Qt operates in this situation?). Hence, the weird bleeding thing still happens with any two apps. In addition, BOTH apps are receiving all the mouse/keyboard events I send (may be separate issue). If anyone has any familiarity with this type of behavior, would appreciate any insight. I'm not sure if it's a hardware or framebuffer related issue either. Thanks.

  2. #2
    Join Date
    Nov 2011
    Posts
    1
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: Two Qt apps getting bleed-through effect

    I am also trying to run two QT applications on separate frame buffers. I have four frame buffers on my linux embedded device. But I am not able to get other application to use another frame buffer. For first application I used the command "<app-name> -qws --dfb:mode=800*400 --dfb:no cursor" and its running perfectly fine. In this application I have a video running.
    What I am trying to achieve is "creating an overlay on top the video running in the first application". So I created another Qt application with buttons on main window and opacity for this main window is set to 0.0 for transparency.
    But I am not able to make 2nd application use another framebuffer. Please help me with this.

    -Lata

Similar Threads

  1. What's effect of QT_BEGIN_NAMESPACE? Thanks
    By mihayinoviki in forum Qt Programming
    Replies: 10
    Last Post: 19th August 2009, 19:21
  2. mac os dialog effect?
    By 0xl33t in forum Newbie
    Replies: 5
    Last Post: 3rd August 2009, 17:05
  3. Replies: 0
    Last Post: 26th June 2009, 17:53
  4. Help for 3D like Visual Effect.
    By AmolShinde_8 in forum Qt Programming
    Replies: 0
    Last Post: 6th October 2008, 15:25
  5. Help with a visual effect
    By SkripT in forum Qt Programming
    Replies: 25
    Last Post: 7th May 2006, 19:15

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.