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. Ubuntu 16.10 GTK Style
Forum Updated to NodeBB v4.3 + New Features

Ubuntu 16.10 GTK Style

Scheduled Pinned Locked Moved Solved General and Desktop
8 Posts 2 Posters 1.9k Views 2 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
    gsxruk
    wrote on last edited by
    #1

    Hi,

    I've just upgraded to Ubuntu 16.10 (from 16.04) and also upgraded to Qt5.7 (from 5.6) at the same time.

    I noticed that GTK doesn't appear to be available as a style since doing this. Is this intentional or due to the update of Ubuntu?

    Thanks.

    1 Reply Last reply
    0
    • G Offline
      G Offline
      gsxruk
      wrote on last edited by
      #7

      Hi,

      I've just searched and it looks like it is a bug and that it will not be fixed until 5.8. Here is the bug report for anybody reading this.

      Thanks for your help mrjj.

      mrjjM 1 Reply Last reply
      2
      • mrjjM Offline
        mrjjM Offline
        mrjj
        Lifetime Qt Champion
        wrote on last edited by
        #2

        Hi
        Not sure where is not available anymore?
        Can you provide a bit more context?

        1 Reply Last reply
        0
        • G Offline
          G Offline
          gsxruk
          wrote on last edited by
          #3

          Hi,

          I believe the GTK style was originally used as default in Ubuntu.

          However, I also tried QStyleFactory::keys() and this returns a list that contains only "Windows" and "Fusion". I'm sure when I've used this in the past it has also included GTK.

          Thanks.

          1 Reply Last reply
          0
          • mrjjM Offline
            mrjjM Offline
            mrjj
            Lifetime Qt Champion
            wrote on last edited by
            #4

            Hmm
            Could you test this , running the sample in 5.6 ?

            1 Reply Last reply
            0
            • G Offline
              G Offline
              gsxruk
              wrote on last edited by
              #5

              Hi,

              I've tried with Qt5.6.2 and this does still default to GTK. Also, QStyleFactory::keys() returns "Windows", "GTK+" and "Fusion". Do you think this may be a bug with Qt 5.7?

              Thanks.

              mrjjM 1 Reply Last reply
              0
              • G gsxruk

                Hi,

                I've tried with Qt5.6.2 and this does still default to GTK. Also, QStyleFactory::keys() returns "Windows", "GTK+" and "Fusion". Do you think this may be a bug with Qt 5.7?

                Thanks.

                mrjjM Offline
                mrjjM Offline
                mrjj
                Lifetime Qt Champion
                wrote on last edited by
                #6

                @gsxruk
                yes it could be.
                I have not seen any notice it was removed.
                Did not find anything on https://bugreports.qt.io from fast search.

                If we look here,
                https://wiki.qt.io/New_Features_in_Qt_5.7

                it mentions "gtk+" style so it seems it should be in 5.7 also.

                So im not sure what you found :)

                1 Reply Last reply
                1
                • G Offline
                  G Offline
                  gsxruk
                  wrote on last edited by
                  #7

                  Hi,

                  I've just searched and it looks like it is a bug and that it will not be fixed until 5.8. Here is the bug report for anybody reading this.

                  Thanks for your help mrjj.

                  mrjjM 1 Reply Last reply
                  2
                  • G gsxruk

                    Hi,

                    I've just searched and it looks like it is a bug and that it will not be fixed until 5.8. Here is the bug report for anybody reading this.

                    Thanks for your help mrjj.

                    mrjjM Offline
                    mrjjM Offline
                    mrjj
                    Lifetime Qt Champion
                    wrote on last edited by
                    #8

                    @gsxruk
                    Thank you too for reporting back :)

                    1 Reply Last reply
                    1

                    • Login

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