Opened 4 years ago

Closed 4 years ago

Last modified 2 years ago

#61840 closed defect (fixed)

vtk @8.2.0_2+qt5: Fails to build using current qt5 @5.15.2

Reported by: wrohv Owned by: stromnov (Andrey Stromnov)
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: haspatch Cc: rdbisme (Ruben Di Battista), mascguy (Christopher Nielsen)
Port: vtk

Description

With the recent version update of Qt5 to 5.15.2, the +qt5 variant of vtk fails to build.

This issue has been fixed upstream, in https://github.com/Kitware/VTK/commit/797f28697d5ba50c1fa2bc5596af626a3c277826

Applying this patch to the current vtk port resolves this problem for me.

Change History (8)

comment:1 Changed 4 years ago by kencu (Ken)

I had to add that include to one of the qt5 examples to get it to build as well, so we might find a few more of these.

comment:2 Changed 4 years ago by jmroot (Joshua Root)

Cc: rubendibattista@… added
Owner: set to stromnov
Status: newassigned

comment:3 Changed 4 years ago by dershow

I tried to upgrade vtk+qt5 from 8.2.0_2 to 8.2.0_3 and it fails as well. I do have the newest qt5 port installed, so it is likely the same issue, so I didn't create a new ticket.

comment:4 Changed 4 years ago by mascguy (Christopher Nielsen)

Cc: mascguy added

comment:5 Changed 4 years ago by mascguy (Christopher Nielsen)

Andrew, a formal fix for this is ready, and can be included with the updates for issue:60118 and issue:61801.

Everything will be going through a pull request, so you'll have a chance to review before anything's committed. Let me know if this works for you?

comment:6 Changed 4 years ago by rubendibattista (Ruben Di Battista)

comment:7 Changed 4 years ago by rubendibattista (Ruben Di Battista)

Resolution: fixed
Status: assignedclosed

In e24235a2586f283b1fcda1f6cab55df4fe9575e8/macports-ports (master):

vtk: Fix QPainterPath include

Fix #61840

comment:8 Changed 2 years ago by neverpanic (Clemens Lang)

Has duplicate #61913.

Note: See TracTickets for help on using tickets.