Qt menu looks "old" on Windows
-
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):
This certainly doesn't look like it should, as this looks much "older" than what it should look like (below):
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.
-
@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. -
@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 -
@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