Unsolved QT 5.12.4 Mingw vs MSVC ui elements rendering when css styled
-
I have an app i Qt and it works fine but when I changed from mingw to msvc 2019 the ui element rendering broke using Qt 5.12.4 windows 10 pro 1903 VS 2019 here is some photos
Any tips or help what should I do ? The application is linked statically to Qt 5.12.4 using Both toolchains with identical config
-
Hi
We have to find out where it fails.
Do you have a minimal example of using a style sheet and VS 2019 that shows
this? ( so we can test locally if its reproducible )Also, is it possible to try with an official Qt version (Dynamic ) and see
if it stills draws like that?It could be the static Qt or visual studio 2019 itself.
Its hard to guess at. -
This is a known bug in MSVC 2019:
- https://bugreports.qt.io/browse/QTBUG-75280
- https://developercommunity.visualstudio.com/content/problem/547684/visual-studio-20191602-generator-incorrect-code-wi.html
You will need to wait for Microsoft to release a fix.
In the meantime, I suggest you continue using MinGW or use MSVC 2017. (MSVC 2017 is compatible with MSVC 2019)