Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Style plugin
Qt 6.11 is out! See what's new in the release blog

Style plugin

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 586 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.
  • G Offline
    G Offline
    GrahamL
    wrote on last edited by
    #1

    Hi
    I am trying to follow the style plugin example given here -
    http://qt-project.org/doc/qt-5.0/qtwidgets/tools-styleplugin.html
    The docs state that
    Note: On some platforms, the native style will prevent the button from having a red background. In this case, try to run the example in another style (e.g., fusion).

    And indeed on my Windows 7 box the color of the button is unchanged.

    Does this mean that there is no way to change the backgound color of a widget using style plugins on windows?

    Thanks

    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