Old windows gui

10/02/2020 23:44 Hatz~#1
Hello dear community, i have a problem when i create a gui from the dll using qt the gui looks like a very old windows gui but if i create a qt gui application it looks good, does anyone have an idea why does it happen? :)
10/02/2020 23:51 Pumba98#2
You maybe miss the style/qwindowsvistastyle.dll?
10/02/2020 23:57 Hatz~#3
I copied it from the qt styles folder to my project dir but it didnt work
10/03/2020 01:17 Bejine#4
you have to have /platforms/qwindows.dll and /styles/qwindowsvistastyle.dll and they have to be where the executable is (so .exe and 2 folders in the same place, and the 2 dlls in the corresponding folders)
you can find these 2 dlls (folders with them) in the Qt/<version>/<compiler>/plugins/ directory
10/03/2020 10:05 Hatz~#5
Quote:
Originally Posted by Bejine View Post
you have to have /platforms/qwindows.dll and /styles/qwindowsvistastyle.dll and they have to be where the executable is (so .exe and 2 folders in the same place, and the 2 dlls in the corresponding folders)
you can find these 2 dlls (folders with them) in the Qt/<version>/<compiler>/plugins/ directory
That worked ty :3