Results 1 to 3 of 3

Thread: Switch blue and red

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Nov 2009
    Posts
    2
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11

    Default Switch blue and red

    Hi,

    I am running on a blackfin platform with uClinux and I can't modify the color offsets of my framebuffer driver.
    Is it possible to switch the Qt red and blue in overloading a Qscreen functions or in editing the library sources?

    Thank,

    Bryan DE FARIA

  2. #2
    Join Date
    Jan 2010
    Posts
    3
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Switch blue and red

    Hi,

    Did you manage to find a solution ?. I'm making a device that needs to rotate the screen. When I use the transform sub driver and rotate the sccreen by 90 degrees, red and blue get swapped.

    I'll post the solution here when (if) I find it.

    Cheers,
    Peter

  3. #3
    Join Date
    Nov 2009
    Posts
    2
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11

    Default Re: Switch blue and red

    Hi Peters,

    My problem was a bit different. I had to modify the setPixelFormat method in the qscreenlinuxfb_qws class.
    In your case you may have to take a look to the qscreentransformed_qws.cpp in the gui/embedded sources.

    Regards,
    Bryan

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.