[MacPorts] #61946: mlt build fails on big sur due to incomplete type 'QPainterPath'

MacPorts noreply at macports.org
Thu Dec 31 03:58:09 UTC 2020


#61946: mlt build fails on big sur due to incomplete type 'QPainterPath'
--------------------------+--------------------
 Reporter:  ShadSterling  |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.6.4
 Keywords:  bigsur        |       Port:  mlt
--------------------------+--------------------
 {{{
 :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.

-- 
Ticket URL: <https://trac.macports.org/ticket/61946>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list