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 menu looks "old" on Windows
Forum Updated to NodeBB v4.3 + New Features

Qt menu looks "old" on Windows

Scheduled Pinned Locked Moved Solved General and Desktop
qt5qt5.15.2windowsmenumenubar
6 Posts 3 Posters 1.0k 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.
  • T Offline
    T Offline
    tontsa28
    wrote on last edited by tontsa28
    #1

    I have compiled a 64-bit version of an originally 32-bit program (SpeedCrunch if it matters). The program works completely fine, however there is something weird going on with the menu (don't mind the menu texts, they are in Finnish):

    7e40d755-9e7e-4883-a4f9-bb594b91773d-image.png

    This certainly doesn't look like it should, as this looks much "older" than what it should look like (below):

    4a1695bc-8a8b-4eea-a33d-fd8931e77c37-image.png

    I think I have all required DLLs, since the program works fine otherwise. What could be the problem here? I'm very new to Qt so I have no idea what to do.

    Christian EhrlicherC 1 Reply Last reply
    0
    • T tontsa28

      I have compiled a 64-bit version of an originally 32-bit program (SpeedCrunch if it matters). The program works completely fine, however there is something weird going on with the menu (don't mind the menu texts, they are in Finnish):

      7e40d755-9e7e-4883-a4f9-bb594b91773d-image.png

      This certainly doesn't look like it should, as this looks much "older" than what it should look like (below):

      4a1695bc-8a8b-4eea-a33d-fd8931e77c37-image.png

      I think I have all required DLLs, since the program works fine otherwise. What could be the problem here? I'm very new to Qt so I have no idea what to do.

      Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @tontsa28 said in Qt menu looks "old" on Windows:

      I think I have all required DLLs

      You don't.
      How did you deploy your app? You're most likely missing the windowsvista style plugin.

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      1 Reply Last reply
      1
      • T Offline
        T Offline
        tontsa28
        wrote on last edited by
        #3

        Thanks! I got it working by creating a styles directory and putting the windowsvista plugin there. I still wonder how the style worked in the 32-bit SpeedCrunch since the DLL was not present...?

        JKSHJ Christian EhrlicherC 2 Replies Last reply
        0
        • T tontsa28

          Thanks! I got it working by creating a styles directory and putting the windowsvista plugin there. I still wonder how the style worked in the 32-bit SpeedCrunch since the DLL was not present...?

          JKSHJ Offline
          JKSHJ Offline
          JKSH
          Moderators
          wrote on last edited by
          #4

          @tontsa28 said in Qt menu looks "old" on Windows:

          I still wonder how the style worked in the 32-bit SpeedCrunch since the DLL was not present...?

          If you use a tool like ProcessExplorer [1] or ListDLLs [2] to see what DLLs are loaded by your app, you might find that it actually picked up a copy of the the plugin from somewhere else.

          [1] https://docs.microsoft.com/en-us/sysinternals/downloads/process-explorer
          [2] https://docs.microsoft.com/en-us/sysinternals/downloads/listdlls

          Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

          1 Reply Last reply
          2
          • T tontsa28

            Thanks! I got it working by creating a styles directory and putting the windowsvista plugin there. I still wonder how the style worked in the 32-bit SpeedCrunch since the DLL was not present...?

            Christian EhrlicherC Offline
            Christian EhrlicherC Offline
            Christian Ehrlicher
            Lifetime Qt Champion
            wrote on last edited by
            #5

            @tontsa28 said in Qt menu looks "old" on Windows:

            I got it working by creating a styles directory and putting the windowsvista plugin there

            You should use windeployqt - it copies all which is needed for you

            Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
            Visit the Qt Academy at https://academy.qt.io/catalog

            1 Reply Last reply
            3
            • T Offline
              T Offline
              tontsa28
              wrote on last edited by
              #6

              I took a look with the ListDLLs tool but couldn't actually find the plugin being used by the 32-bit version, maybe some other DLL is handling that? Anyway, my problem is now solved so I'll mark this topic as solved.

              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