Opened 6 years ago

Closed 6 years ago

#57517 closed defect (fixed)

py-pyside2: Error: Dependency 'qt57-qtspeech' not found

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: pmetzger (Perry E. Metzger)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Port: py-pyside2

Description

py-pyside2 depends on a nonexistent port, at least on Mountain Lion and earlier:

Error: Dependency 'qt57-qtspeech' not found.
Error: mportdepends py27-pyside2 activate failed.
Calculating dependencies for 'py27-pyside2' failed, aborting.
./mpbb/mpbb: error: `install-dependencies' failed to run successfully

Is the qt-qtspeech dependency mandatory? If not, maybe it could be excluded on older systems that are limited to a version of Qt that doesn't have that module. Or maybe there's a way to offer that module on older systems; I'm not sure.

Change History (3)

comment:1 Changed 6 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

It turns out that py-pyside2 requires Qt 5.8 or above for other reasons as well.
I tried to see if there were simple workarounds, but I believe it would require non-trivial changes to get py-pyside2 working with Qt 5.7.
Further, there does not seem to be an easily accessible earlier version of py-pyside2 to use for earlier versions of Qt.

I will work on a way to fail more gracefully when Qt < 5.8 is installed.
Are there any objections, or does someone want to work on getting py-pyside2 to install on older version of Qt?

comment:2 Changed 6 years ago by pmetzger (Perry E. Metzger)

PySide2 really can't work on older Qt. I think we shouldn't spend our time trying, it's a non-trivial piece of software.

comment:3 Changed 6 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Resolution: fixed
Status: assignedclosed

In 16f3439b8d0df3e48bb3ec4d6335305ee276b2cd/macports-ports (master):

py-pyside2: recognize that Qt >= 5.8 is required

Fixes #57517

Note: See TracTickets for help on using tickets.