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. Qt 5.7 gtk style
Forum Updated to NodeBB v4.3 + New Features

Qt 5.7 gtk style

Scheduled Pinned Locked Moved Unsolved General and Desktop
7 Posts 3 Posters 2.9k 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.
  • A Offline
    A Offline
    ARASHz4
    wrote on last edited by
    #1

    Hi
    i'm using ubuntu.
    Qt in new version don't have ubuntu style & use fusion style
    how to use ubuntu style in qt 5.7?

    raven-worxR 1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      Hi! Maybe the following is of interest for you:

      • https://blog.qt.io/blog/2012/10/30/cleaning-up-styles-in-qt5-and-adding-fusion/
      • https://codereview.qt-project.org/#/q/project:qt/qtstyleplugins,n,z
      1 Reply Last reply
      1
      • A ARASHz4

        Hi
        i'm using ubuntu.
        Qt in new version don't have ubuntu style & use fusion style
        how to use ubuntu style in qt 5.7?

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

        @ARASHz4
        i am not a linux guru.
        But why do you know it has been removed?

        Whats the output of the following?

        qDebug() << QStyleFactory::keys()
        

        --- 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

        A 1 Reply Last reply
        0
        • raven-worxR raven-worx

          @ARASHz4
          i am not a linux guru.
          But why do you know it has been removed?

          Whats the output of the following?

          qDebug() << QStyleFactory::keys()
          
          A Offline
          A Offline
          ARASHz4
          wrote on last edited by ARASHz4
          #4

          @raven-worx I do this before, just return:
          windows
          fusion

          raven-worxR 1 Reply Last reply
          0
          • A ARASHz4

            @raven-worx I do this before, just return:
            windows
            fusion

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

            @ARASHz4
            Really a Windows style in an Ubuntu environment?

            --- 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
            • raven-worxR raven-worx

              @ARASHz4
              Really a Windows style in an Ubuntu environment?

              ? Offline
              ? Offline
              A Former User
              wrote on last edited by
              #6

              @raven-worx Yes, on desktop linux two styles are in the official Qt distribution: Windows and Fusion. But following the second link I posted above one can also get a GTK style that blends perfectly into the ugly Unity / Gnome environment.

              1 Reply Last reply
              0
              • A Offline
                A Offline
                ARASHz4
                wrote on last edited by
                #7

                Anyone know how to use gtk style in Qt 5.7?

                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