Opened 6 years ago
Closed 5 years ago
#62009 closed defect (fixed)
py39-pyqt5 @5.14.2: object of type 'QSGGeometry' cannot be assigned because its copy assignment operator is implicitly deleted
| Reported by: | dliessi (Davide Liessi) | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | |
| Keywords: | mountainlion, mavericks, yosemite | Cc: | chrstphrchvz (Christopher Chavez), reneeotten (Renee Otten) |
| Port: | py-pyqt5 |
Description
The port py39-pyqt5 fails to build on 10.8, 10.9 and 10.10 due to the following error:
/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_python_py-pyqt5/py39-pyqt5/work/PyQt5-5.14.2/QtQuick/sipQtQuickQSGGeometry.cpp:940:59: error: object of type 'QSGGeometry' cannot be assigned because its copy assignment operator is implicitly deleted
reinterpret_cast< ::QSGGeometry *>(sipDst)[sipDstIdx] = *reinterpret_cast< ::QSGGeometry *>(sipSrc);
^
/opt/local/libexec/qt5/lib/QtQuick.framework/Headers/qsggeometry.h:207:25: note: copy assignment operator of 'QSGGeometry' is implicitly deleted because field 'm_attributes' is of reference type 'const QSGGeometry::AttributeSet &'
const AttributeSet &m_attributes;
^
Change History (5)
comment:1 Changed 6 years ago by chrstphrchvz (Christopher Chavez)
comment:2 Changed 6 years ago by chrstphrchvz (Christopher Chavez)
| Cc: | chrstphrchvz added |
|---|
comment:3 Changed 6 years ago by ctreleaven (Craig Treleaven)
I see from the port pages for py3x-pyqt5, that the port cannot be successfully built on OS X 10.10 or earlier. Is this fixable?
Eg:
comment:4 Changed 5 years ago by reneeotten (Renee Otten)
| Cc: | reneeotten added |
|---|
comment:5 Changed 5 years ago by reneeotten (Renee Otten)
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Fixed in this commit. The latest PyQt5 versions works with all Qt versions; there might be other, unrelated build failures on older OSes, but let's see what the buildbots make of it first.
Note: See
TracTickets for help on using
tickets.

@michaelld noticed this a few months back: https://github.com/macports/macports-ports/pull/8128#issuecomment-680952659