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
Forum Update on Monday, May 27th 2025

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.
  • C Offline
    C Offline
    ccptleu
    wrote on 21 Jun 2016, 20:10 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?

    R 1 Reply Last reply 22 Jun 2016, 06:54
    0
    • C ccptleu
      21 Jun 2016, 20:10

      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?

      R Offline
      R Offline
      raven-worx
      Moderators
      wrote on 22 Jun 2016, 06:54 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
      • C Offline
        C Offline
        ccptleu
        wrote on 22 Jun 2016, 17:39 last edited by
        #3

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

        R 1 Reply Last reply 24 Jun 2016, 05:43
        0
        • C ccptleu
          22 Jun 2016, 17:39

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

          R Offline
          R Offline
          raven-worx
          Moderators
          wrote on 24 Jun 2016, 05:43 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
          • C Offline
            C Offline
            ccptleu
            wrote on 24 Jun 2016, 16:07 last edited by
            #5

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

            1 Reply Last reply
            0

            4/5

            24 Jun 2016, 05:43

            • Login

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