Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-75280

Qt 5.9.8 build with Visual Studio 2019 issues

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Out of scope
    • Affects Version/s: 5.9.8, 5.12.3
    • Fix Version/s: None
    • Component/s: Other
    • Labels:
      None
    • Environment:
      Windows 10 1903
      Visual Studio 2019
      Qt Creator 4.9.0
    • Platform/s:
      Windows

      Description

      Hello! I want to report issues with projects statically compiled with Qt 5.9.8. I noticed, it broke a lot of code:

      setCursor(Qt::PointingHandCursor);

      is not working

      C++ lambda works but has red underlines (as errors) even no errors are found.

      Also, mouse hover on button using

      setStyleSheet("QPushButton::hover {background-color: #556B2F;}");

      method is not working.

      And that's not all, after the project has been finally built I noticed that QLabel avatar is missing/displays artifacts. I attached the screenshots of the issues.

      For example, all works well with Qt 5.9.8 statically built with Visual Studio 2017 and no such issues occurs.

      Updated: The same problem exists with the Qt shared built with VS 2019. Thank you.

       

        Attachments

        1. cafeb31a-0829-474c-8f73-32be3c34a6aa.png
          cafeb31a-0829-474c-8f73-32be3c34a6aa.png
          2 kB
        2. dc4cf207-0f83-43e8-92fe-427ce9f39dff.png
          dc4cf207-0f83-43e8-92fe-427ce9f39dff.png
          6 kB
        3. MU1[Q4D$R8V1(XMR~{IIR]M.png
          MU1[Q4D$R8V1(XMR~{IIR]M.png
          262 kB
        4. qt_5.12.3_vs2019_issue.gif
          qt_5.12.3_vs2019_issue.gif
          295 kB
        5. qt_vs2019_issue.gif
          qt_vs2019_issue.gif
          686 kB
        6. TestHover.zip
          5 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            • Assignee:
              laknoll Lars Knoll
              Reporter:
              cobra91151 Ruslan Sydorvych
            • Votes:
              3 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes