Opened 21 months ago

Closed 21 months ago

Last modified 21 months ago

#66864 closed defect (fixed)

QtCurve-qt5 not working for Ventura x86_64

Reported by: zap150 (Jan Zapletal) Owned by: RJVB (René Bertin)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: QtCurve-qt5, kf5, ventura Cc:
Port: QtCurve-qt5

Description

Are there any efforts porting this to Ventura?

Log says

:info:build     QT_DEPRECATED_X("Use bool find(const QString &, QPixmap *) instead")
:info:build     ^
:info:build /opt/local/libexec/qt5/lib/QtCore.framework/Headers/qglobal.h:294:33: note: expanded from macro 'QT_DEPRECATED_X'
:info:build #  define QT_DEPRECATED_X(text) Q_DECL_DEPRECATED_X(text)
:info:build                                 ^
:info:build /opt/local/libexec/qt5/lib/QtCore.framework/Headers/qcompilerdetection.h:675:55: note: expanded from macro 'Q_DECL_DEPRECATED_X'
:info:build #    define Q_DECL_DEPRECATED_X(text) __attribute__ ((__deprecated__(text)))
:info:build                                                       ^
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_qtcurve/QtCurve-qt5/work/QtCurve-1.9.0/qt5/style/qtcurve.cpp:1768:31: error: calling 'buildPath' with incomplete return type 'QPainterPath'
:info:build                 addStripes(p, buildPath(rx, WIDGET_SB_SLIDER, realRound,
:info:build                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_qtcurve/QtCurve-qt5/work/QtCurve-1.9.0/qt5/style/qtcurve.h:265:18: note: 'buildPath' declared here
:info:build     QPainterPath buildPath(const QRect &r, EWidget w,
:info:build                  ^
:info:build /opt/local/libexec/qt5/lib/QtGui.framework/Headers/qmatrix.h:54:7: note: forward declaration of 'QPainterPath'
:info:build class QPainterPath;
:info:build       ^
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_qtcurve/QtCurve-qt5/work/QtCurve-1.9.0/qt5/style/qtcurve.cpp:1846:33: error: calling 'buildPath' with incomplete return type 'QPainterPath'
:info:build                               ? buildPath(r, w, round, qtcGetRadius(&opts, r.width()-2, r.height()-2, w, RADIUS_INTERNAL))
:info:build                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_qtcurve/QtCurve-qt5/work/QtCurve-1.9.0/qt5/style/qtcurve.h:265:18: note: 'buildPath' declared here
:info:build     QPainterPath buildPath(const QRect &r, EWidget w,
:info:build                  ^
:info:build /opt/local/libexec/qt5/lib/QtGui.framework/Headers/qmatrix.h:54:7: note: forward declaration of 'QPainterPath'
:info:build class QPainterPath;
:info:build       ^
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_qtcurve/QtCurve-qt5/work/QtCurve-1.9.0/qt5/style/qtcurve.cpp:1847:33: error: calling 'buildPath' with incomplete return type 'QPainterPath'
:info:build                               : buildPath(QRectF(r), w, round, qtcGetRadius(&opts, r.width(), r.height(), w, RADIUS_EXTERNAL)),
:info:build                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_qtcurve/QtCurve-qt5/work/QtCurve-1.9.0/qt5/style/qtcurve.h:263:18: note: 'buildPath' declared here
:info:build     QPainterPath buildPath(const QRectF &r, EWidget w,
:info:build                  ^
:info:build /opt/local/libexec/qt5/lib/QtGui.framework/Headers/qmatrix.h:54:7: note: forward declaration of 'QPainterPath'
:info:build class QPainterPath;
:info:build       ^
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_qtcurve/QtCurve-qt5/work/QtCurve-1.9.0/qt5/style/qtcurve.cpp:1846:33: error: initialization of incomplete type 'QPainterPath'
:info:build                               ? buildPath(r, w, round, qtcGetRadius(&opts, r.width()-2, r.height()-2, w, RADIUS_INTERNAL))
:info:build                                 ^
:info:build /opt/local/libexec/qt5/lib/QtGui.framework/Headers/qmatrix.h:54:7: note: forward declaration of 'QPainterPath'
:info:build class QPainterPath;
:info:build       ^
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_qtcurve/QtCurve-qt5/work/QtCurve-1.9.0/qt5/style/qtcurve.cpp:1854:36: error: calling 'buildPath' with incomplete return type 'QPainterPath'
:info:build                     p->setClipPath(buildPath(r.adjusted(0, 0, 0, -1), w, round,
:info:build                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_qtcurve/QtCurve-qt5/work/QtCurve-1.9.0/qt5/style/qtcurve.h:265:18: note: 'buildPath' declared here
:info:build     QPainterPath buildPath(const QRect &r, EWidget w,
:info:build                  ^
:info:build /opt/local/libexec/qt5/lib/QtGui.framework/Headers/qmatrix.h:54:7: note: forward declaration of 'QPainterPath'
:info:build class QPainterPath;
:info:build       ^
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_qtcurve/QtCurve-qt5/work/QtCurve-1.9.0/qt5/style/qtcurve.cpp:1926:29: error: calling 'buildPath' with incomplete return type 'QPainterPath'
:info:build                 p->fillPath(buildPath(topGradRect, w, round, topSize), QBrush(topGrad));
:info:build                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_qtcurve/QtCurve-qt5/work/QtCurve-1.9.0/qt5/style/qtcurve.h:263:18: note: 'buildPath' declared here
:info:build     QPainterPath buildPath(const QRectF &r, EWidget w,
:info:build                  ^
:info:build /opt/local/libexec/qt5/lib/QtGui.framework/Headers/qmatrix.h:54:7: note: forward declaration of 'QPainterPath'
:info:build class QPainterPath;
:info:build       ^
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_qtcurve/QtCurve-qt5/work/QtCurve-1.9.0/qt5/style/qtcurve.cpp:1970:29: error: calling 'buildPath' with incomplete return type 'QPainterPath'
:info:build                 p->fillPath(buildPath(gr, w, round, rad), QBrush(g));
:info:build                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_qtcurve/QtCurve-qt5/work/QtCurve-1.9.0/qt5/style/qtcurve.h:263:18: note: 'buildPath' declared here
:info:build     QPainterPath buildPath(const QRectF &r, EWidget w,
:info:build                  ^
:info:build /opt/local/libexec/qt5/lib/QtGui.framework/Headers/qmatrix.h:54:7: note: forward declaration of 'QPainterPath'
:info:build class QPainterPath;
:info:build       ^
:info:build fatal error: too many errors emitted, stopping now [-ferror-limit=]

Change History (6)

comment:1 Changed 21 months ago by jmroot (Joshua Root)

Owner: set to RJVB
Status: newassigned

comment:2 in reply to:  description Changed 21 months ago by RJVB (René Bertin)

Replying to zap150:

Are there any efforts porting this to Ventura?

No, but QtCurve builds against Qt 5.15.2 since june 2020 . You can find a version in my macstrop repo that should work.

comment:3 Changed 21 months ago by kencu (Ken)

Resolution: fixed
Status: assignedclosed

In 740f81cd903c5d70f6b9d27f9c119d57c47fda50/macports-ports (master):

qtcurve/qt5-qtcurve: fix qpainterpath error

closes: #66864

comment:4 Changed 21 months ago by RJVB (René Bertin)

Not exactly the way I was planning to address this (by upgrading the port) but thanks anyway I guess :)

comment:5 Changed 21 months ago by kencu (Ken)

yeah, it was a trivial fix we’ve used in many places for QT before, and TBH it sounded like you weren’t planning on doing anything…

comment:6 Changed 21 months ago by RJVB (René Bertin)

Upgrading the provided version would have been trivial too and I was indeed hoping someone would pick up the hint to do that...

Note: See TracTickets for help on using tickets.