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. How can I set the background color when I used framebuffer which depths is 8.
Forum Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved Mobile and Embedded
3 Posts 2 Posters 869 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.
  • M Offline
    M Offline
    miaoyuwf
    wrote on last edited by
    #1

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

    1 Reply Last reply
    0
    • A Offline
      A Offline
      Adrien Leravat
      wrote on last edited by
      #2

      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 ?

      Adeneo Embedded - www.adeneo-embedded.com

      1 Reply Last reply
      0
      • M Offline
        M Offline
        miaoyuwf
        wrote on last edited by
        #3

        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.

        1 Reply Last reply
        0

        • Login

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