diff options
author | Simon Hausmann <simon.hausmann@qt.io> | 2020-01-24 15:05:46 +0100 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@qt.io> | 2020-01-24 15:20:54 +0100 |
commit | b5193881e54ec3f3fe496654d23584eb5f96b692 (patch) | |
tree | 677bd96af61735fa85dd8bdb521939dcb61510d3 /examples/widgets/doc/src/undoframework.qdoc | |
parent | 2344e5cc3104b7d599f4d2a96bbfd8530223a08e (diff) |
Make QMatrix4x4::projectedRotate public
The function is used by QGraphicsRotation, which is in widgets.
QGraphicsRotation is marked as a friend, so that it can access the
private method. QtQuick needs access to the same method, so internally
it declares a "fake" QGraphicsRotation class, just so that it can
private access. This breaks now that QtQuick needs to do QT += opengl,
which implies widgets and thus ends up including the header file that
also declares QGraphicsRotation.
So instead of these hacks, let's make the function public, but remain
\internal in terms of docs.
Change-Id: I671f68c9d7ab0aac985e0b583f63f3ee962567dc
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'examples/widgets/doc/src/undoframework.qdoc')
0 files changed, 0 insertions, 0 deletions