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. Missing QApplication styles in Qt 5.10.0

Missing QApplication styles in Qt 5.10.0

Scheduled Pinned Locked Moved Unsolved General and Desktop
10 Posts 4 Posters 3.2k 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.
  • JMO_GSJ Offline
    JMO_GSJ Offline
    JMO_GS
    wrote on last edited by
    #1

    Our desktop app which uses Qt recently upgraded from 5.9.2 to 5.10.0. Suddenly, the application style "windowsVista" is no longer available. So our app looks terrible. Is there a way to obtain this for 5.10.0? Is there some download we missed?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Can you show the difference between the two versions ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • JMO_GSJ Offline
        JMO_GSJ Offline
        JMO_GS
        wrote on last edited by
        #3

        The old version (with windowsVista) looked like this:

        http://i65.tinypic.com/2m492z8.jpg

        The new version looks like this (apparently the same as the style "windows" which existed before and after)

        http://i66.tinypic.com/2ecd6ig.jpg

        1 Reply Last reply
        0
        • JMO_GSJ Offline
          JMO_GSJ Offline
          JMO_GS
          wrote on last edited by
          #4

          I tried calling QStyleFactory::keys on both versions.

          5.9.2 gave me these:

          "Windows"
          "WindowsXP"
          "WindowsVista"
          "Fusion"
          However 5.10.0 only gives me "Windows" and "Fusion"

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            Can you check the content of the styles plugins folder ?

            One possibility will likely be to build the plugin yourself as it seems to still be in the Qt sources.

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            0
            • JMO_GSJ Offline
              JMO_GSJ Offline
              JMO_GS
              wrote on last edited by
              #6

              Thank you for your help. I am confused however. I do not see a "styles plugins" folder. There are many subfolders named "plugins" and many subfolders named "styles" but none of the "plugins" folders appear to have the word "styles" in their paths nor vice versa.

              Are styles supposed to live in a DLL somewhere...?

              1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #7

                It's in something like ~/Qt/5.10.0/msvc2017/plugins/styles/

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

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

                  Hi
                  Mine is in
                  "C:\Qt\5.10.0\msvc2015_64\plugins\styles\qwindowsvistastyle.dll"

                  alt text

                  1 Reply Last reply
                  0
                  • JMO_GSJ Offline
                    JMO_GSJ Offline
                    JMO_GS
                    wrote on last edited by
                    #9

                    Odd. It wasn't in my build tree at all. The entire "plugins" folder wasn't even there. So I tried completely uninstalling and re-installing Qt and there it was. I guess I must have failed to check some sort of option in the installer the first time.though I'm not sure what it was. Regardless, I do see it there now so thank you!

                    1 Reply Last reply
                    0
                    • jiancaiyangJ Offline
                      jiancaiyangJ Offline
                      jiancaiyang
                      wrote on last edited by
                      #10

                      Mine question is when statically built Qt program, I missed Windows vista style. Is there any other steps to get the plugin compiled?

                      我们自己的论坛:http://qtdream.com
                      擅长三维角色仿真动画。

                      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