Qt World Summit: Register Today!

How can I set the background color when I used framebuffer which depths is 8.

  • My framebuffer depths is 8.
    I want to set the background color to a fixed value such as "aa", what should I do ?

  • Hi miaoyuwf,

    What is your target operating system, version of Qt, and application type (Native Qt or QML) ?
    Is it failing using a regular QColor or color object ?

  • hi, thanks for reply
    My target system is arm based, Qt version is 4.6.3 for embeded system.
    I want to config the color value to some special value such as "0xaa" , "0xcc" , etc. But the QColor seem to configue the color in 24bits or 32bits pattern.

Log in to reply