Qt menu looks "old" on Windows
-
wrote on 12 May 2022, 05:48 last edited by tontsa28 5 Dec 2022, 15:05
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.
-
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. -
wrote on 13 May 2022, 07:06 last edited by
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...?
-
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...?
@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 -
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...?
@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
-
wrote on 13 May 2022, 09:18 last edited by
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/6