Opened 4 years ago
Closed 4 years ago
#61946 closed defect (fixed)
mlt @6.10.0: error: invalid use of incomplete type 'QPainterPath'
Reported by: | ShadSterling (Shad Sterling) | Owned by: | ddennedy (Dan Dennedy) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.4 |
Keywords: | Cc: | RJVB (René Bertin) | |
Port: | mlt |
Description
:info:build producer_qtext.cpp:41:2: warning: deleting pointer to incomplete type 'QPainterPath' may cause undefined behavior [-Wdelete-incomplete] :info:build delete static_cast<QPainterPath*>( qpath ); :info:build ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build /opt/local/libexec/qt5/include/QtGui/qmatrix.h:54:7: note: forward declaration of 'QPainterPath' :info:build class QPainterPath; :info:build ^ :info:build producer_qtext.cpp:142:11: error: invalid use of incomplete type 'QPainterPath' :info:build *qPath = QPainterPath(); :info:build ^~~~~~~~~~~~~~ :info:build /opt/local/libexec/qt5/include/QtGui/qmatrix.h:54:7: note: forward declaration of 'QPainterPath' :info:build class QPainterPath; :info:build ^ :info:build producer_qtext.cpp:143:7: error: member access into incomplete type 'QPainterPath' :info:build qPath->setFillRule(Qt::WindingFill); :info:build ^ :info:build /opt/local/libexec/qt5/include/QtGui/qmatrix.h:54:7: note: forward declaration of 'QPainterPath' :info:build class QPainterPath; :info:build ^ :info:build producer_qtext.cpp:196:8: error: member access into incomplete type 'QPainterPath' :info:build qPath->addText( x, y, font, line ); :info:build ^ :info:build /opt/local/libexec/qt5/include/QtGui/qmatrix.h:54:7: note: forward declaration of 'QPainterPath' :info:build class QPainterPath; :info:build ^ :info:build producer_qtext.cpp:358:33: error: allocation of incomplete type 'QPainterPath' :info:build QPainterPath* framePath = new QPainterPath( *prodPath ); :info:build ^~~~~~~~~~~~ :info:build /opt/local/libexec/qt5/include/QtGui/qmatrix.h:54:7: note: forward declaration of 'QPainterPath' :info:build class QPainterPath; :info:build ^ :info:build producer_qtext.cpp:487:83: error: allocation of incomplete type 'QPainterPath' :info:build mlt_properties_set_data( producer_properties, "_qpath", static_cast<void*>( new QPainterPath() ), 0, close_qpath, NULL ); :info:build ^~~~~~~~~~~~ :info:build /opt/local/libexec/qt5/include/QtGui/qmatrix.h:54:7: note: forward declaration of 'QPainterPath' :info:build class QPainterPath; :info:build ^ :info:build graph.cpp:156:15: error: variable has incomplete type 'QPainterPath' :info:build QPainterPath curvePath; :info:build ^ :info:build /opt/local/libexec/qt5/include/QtGui/qmatrix.h:54:7: note: forward declaration of 'QPainterPath' :info:build class QPainterPath; :info:build ^ :info:build 1 warning and 5 errors generated.
This came up in reinstalling everything after moving to Big Sur, mlt is not requested.
Attachments (1)
Change History (7)
Changed 4 years ago by ShadSterling (Shad Sterling)
comment:1 Changed 4 years ago by kencu (Ken)
comment:2 Changed 4 years ago by kencu (Ken)
Cc: | RJVB added; dbevans removed |
---|---|
Keywords: | bigsur removed |
Owner: | set to ddennedy |
Status: | new → assigned |
comment:3 Changed 4 years ago by kencu (Ken)
comment:4 Changed 4 years ago by kencu (Ken)
Summary: | mlt build fails on big sur due to incomplete type 'QPainterPath' → mlt @6.10.0: error: invalid use of incomplete type 'QPainterPath' |
---|
comment:5 Changed 4 years ago by ddennedy (Dan Dennedy)
Should be fixed in pull request https://github.com/macports/macports-ports/pull/9577 I was able to build and test with Qt 5.15.2 on my macOS 10.14 machine, but my only Big Sur machine at the moment is M1, for which qt5 ports fail on icu dependency.
comment:6 Changed 4 years ago by ddennedy (Dan Dennedy)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Several ports have needed
QPainterPath.h
added:https://github.com/macports/macports-ports/blob/master/aqua/qt5/files/patch-qtwebkit-examples-browser-qpainterpath.diff