Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix dev build with Qt 5.15 on MacOS #877

Merged
merged 1 commit into from
Jul 13, 2020
Merged

Fix dev build with Qt 5.15 on MacOS #877

merged 1 commit into from
Jul 13, 2020

Conversation

riordant
Copy link
Contributor

PR intention

master build failing on MacOS in Qt:

qt/trafficgraphwidget.cpp:53:13: error: member access into incomplete type 'QPainterPath'
        path.moveTo(x, YMARGIN + h);
            ^
/usr/local/Cellar/qt/5.15.0/lib/QtGui.framework/Headers/qmatrix.h:54:7: note: forward declaration of 'QPainterPath'
class QPainterPath;
      ^
qt/trafficgraphwidget.cpp:57:17: error: member access into incomplete type 'QPainterPath'
            path.lineTo(x, y);
                ^
/usr/local/Cellar/qt/5.15.0/lib/QtGui.framework/Headers/qmatrix.h:54:7: note: forward declaration of 'QPainterPath'
class QPainterPath;
      ^
qt/trafficgraphwidget.cpp:59:13: error: member access into incomplete type 'QPainterPath'
        path.lineTo(x, YMARGIN + h);
            ^
/usr/local/Cellar/qt/5.15.0/lib/QtGui.framework/Headers/qmatrix.h:54:7: note: forward declaration of 'QPainterPath'
class QPainterPath;
      ^
qt/trafficgraphwidget.cpp:106:22: error: variable has incomplete type 'QPainterPath'
        QPainterPath p;
                     ^
/usr/local/Cellar/qt/5.15.0/lib/QtGui.framework/Headers/qmatrix.h:54:7: note: forward declaration of 'QPainterPath'
class QPainterPath;
      ^
qt/trafficgraphwidget.cpp:113:22: error: variable has incomplete type 'QPainterPath'
        QPainterPath p;
                     ^
/usr/local/Cellar/qt/5.15.0/lib/QtGui.framework/Headers/qmatrix.h:54:7: note: forward declaration of 'QPainterPath'
class QPainterPath;

Appears related to latest release of Qt5.15 (Nheko-Reborn/nheko@43d2ebc) .

Code changes brief

Just include QPainterPath in the file with the failure

@a-bezrukov a-bezrukov merged commit 1e9c570 into master Jul 13, 2020
@a-bezrukov a-bezrukov deleted the macos-qt-fix branch July 13, 2020 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants