Opened 10 years ago

Closed 10 years ago

#44466 closed enhancement (fixed)

OpenSceneGraph - Unnecessary Dependency on Qt4

Reported by: hartmut@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.3.1
Keywords: Cc:
Port: OpenSceneGraph

Description

osgViewer has a back-end for native windowing using Cocoa - which is default, also set correctly in the CMake config in the portfile. I'm not sure why the CMake config parameters in the port file force Qt4 (DESIRED_QT_VERSION) and drag in Qt as a dependency (port:qt4-mac). If needed, the osgViewer back-end with Qt and probably Qt4 dependency should be either upgraded to Qt5 or made a variant.

In the current implementation an installation of OpenSceneGraph (also -devel) is impossible with Qt5 installed and vice versa.

Change History (3)

comment:1 Changed 10 years ago by hartmut@…

Cc: hartmut@… added

Cc Me!

comment:2 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: hartmut@… removed
Owner: changed from macports-tickets@… to ryandesign@…
Port: OpenSceneGraph added; openscenegraph removed
Status: newassigned
Type: defectenhancement

Thanks for the suggestion. I see a new version of OSG is available too. I'll look into updating the port.

comment:3 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

The README says a Cocoa backend still needs to be written; that information appears to be outdated and that a Cocoa backend was already written for OSG 3.0.

Looks like we added the flag to use Cocoa in r106454 to fix #39006, without removing the flags that use Qt. I guess since then it's been using both?

I changed OpenSceneGraph-devel to no longer use Qt in r122761 and OpenSceneGraph in r122762.

Note: See TracTickets for help on using tickets.