Details
-
Bug
-
Resolution: Done
-
P2: Important
-
6.2.1
-
None
-
macOS Monterey 12.0.1, Apple clang version 13.0.0 (clang-1300.0.29.3)
-
-
4f69a1e1d2ae8f475bbd7e1d3c1ca92487c6ea90 (qt/qtbase/dev) 9ed75c72bf08ab04c7e5a67dae3d026f2e178d18 (qt/qtbase/6.2) c07e85b15d298bdccbfef551448eba966f7bf306 (qt/qtbase/6.2.2)
Description
When using QPainter::drawLine() on a QWidget, a vertical line appears to be skewed. This issue does not occur on either Windows or Linux.
I have attached a small test case, along with two images: the skewed result on macOS, and the expected result which occurs on Linux and Windows using this test case.
Whether or not the QWidget is a part of the QDockWidget in the test case or not seems to have no bearing on this phenomenon.
UPDATE: I can confirm there is a regression between Qt 6.2.1 and Qt 5.15.2 on macOS. The latter gives the expected result, the former does not.
Attachments
Issue Links
- is duplicated by
-
QTBUG-98911 QPainter incorrect drawing when using Qt Static lib on Intel or Rosetta 2
- Closed
- relates to
-
QTBUG-98403 tst_QPainter fails with macOS 12 x86 in developer build tests
- Closed
-
QTBUG-99280 Splash screen appears on top model dialog with dynamic vs behind with static
- Closed