Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Qt + DirectFB not working window drag
Forum Updated to NodeBB v4.3 + New Features

Qt + DirectFB not working window drag

Scheduled Pinned Locked Moved Mobile and Embedded
2 Posts 1 Posters 645 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.
  • S Offline
    S Offline
    Sung Sean
    wrote on 14 Aug 2015, 04:36 last edited by
    #1

    Hello.

    I using Qt embedded 4.8.6 with DirectFB 1.2.8.

    I write simple code like below.

    #include <QApplication>
    #include <QMainWindow>
    
    int main(int argc, char** argv)
    {
        QApplication app(argc, argv);
    
        QMainWindow win;
        win.show();
    
        return app.exec();
    }
    

    When I grab window's title bar and drag using my mouse device(for windows move),
    my display showing below linked image.

    https://drive.google.com/file/d/0B8Wbvmr8DTE2MmdiZlVGU3k1eWdEZWNEOVhmbmhZTjBjWUtN/view?usp=sharing

    What is wrong?

    Thank you.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      Sung Sean
      wrote on 14 Aug 2015, 04:56 last edited by Sung Sean
      #2

      I found solution and comment for other person.

      When I set 'bg-color' to 'transparent(0x00000000)' in .directfbrc,
      DFB don't update framebuffer.

      So, I set bg-color to 'magenta color(0x00FF00FFFF)' in .directfbrc,
      and I set colorkey to my framebuffer, it works fine.

      1 Reply Last reply
      0

      1/2

      14 Aug 2015, 04:36

      • Login

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