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. Stylesheet using qlineargradient not showing on linux
QtWS25 Last Chance

Stylesheet using qlineargradient not showing on linux

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 2 Posters 1.0k Views
  • 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.
  • ccptleuC Offline
    ccptleuC Offline
    ccptleu
    wrote on last edited by
    #1

    I'm using qt 5.6 and I have a gui that runs on both linux and windows. I'm finding that the stylesheet to set the background color of my widgets using qlineargradient doesn't show up on linux (shows up as pure black) but shows up properly on windows. What do i need to do for the qlineargradient background to show up?

    raven-worxR 1 Reply Last reply
    0
    • ccptleuC ccptleu

      I'm using qt 5.6 and I have a gui that runs on both linux and windows. I'm finding that the stylesheet to set the background color of my widgets using qlineargradient doesn't show up on linux (shows up as pure black) but shows up properly on windows. What do i need to do for the qlineargradient background to show up?

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      @ccptleu
      when it works on windows but doesn't on linux it's most probably a bug.
      Can you please create a bug report?

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      0
      • ccptleuC Offline
        ccptleuC Offline
        ccptleu
        wrote on last edited by
        #3

        This is now reported in https://bugreports.qt.io/browse/QTBUG-54295.

        raven-worxR 1 Reply Last reply
        0
        • ccptleuC ccptleu

          This is now reported in https://bugreports.qt.io/browse/QTBUG-54295.

          raven-worxR Offline
          raven-worxR Offline
          raven-worx
          Moderators
          wrote on last edited by
          #4

          @ccptleu
          you should also add the used stylesheet and OS versions.
          The more details the better.

          --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
          If you have a question please use the forum so others can benefit from the solution in the future

          1 Reply Last reply
          0
          • ccptleuC Offline
            ccptleuC Offline
            ccptleu
            wrote on last edited by
            #5

            I've now added the OS version and stylesheet information to the bug.

            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