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 5.12.4 Mingw vs MSVC ui elements rendering when css styled
Forum Updated to NodeBB v4.3 + New Features

QT 5.12.4 Mingw vs MSVC ui elements rendering when css styled

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 509 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.
  • D Offline
    D Offline
    dr3mro
    wrote on 11 Aug 2019, 13:45 last edited by
    #1

    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
    3_1565531090175_2019-08-11.png 2_1565531090175_2019-08-11 (3).png 1_1565531090175_2019-08-11 (2).png 0_1565531090175_2019-08-11 (1).png

    Any tips or help what should I do ? The application is linked statically to Qt 5.12.4 using Both toolchains with identical config

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mrjj
      Lifetime Qt Champion
      wrote on 11 Aug 2019, 16:07 last edited by
      #2

      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.

      1 Reply Last reply
      3
      • J Offline
        J Offline
        JKSH
        Moderators
        wrote on 11 Aug 2019, 23:40 last edited by
        #3

        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)

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

        1 Reply Last reply
        3

        1/3

        11 Aug 2019, 13:45

        • Login

        • Login or register to search.
        1 out of 3
        • First post
          1/3
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved