[osg-users] How to correctly build OSG 3.4.0 on OSX 10.10 with Qt5 support?

Marko Käning (MacPorts) mk-macports at posteo.net
Thu Feb 18 02:56:19 PST 2016


This is doing its job
---
configure.args-append   -DOSG_CONFIG_HAS_BEEN_RUN_BEFORE=YES \
                          -DOSG_DEFAULT_IMAGE_PLUGIN_FOR_OSX=imageio \
                          -DOSG_WINDOWING_SYSTEM=Cocoa \
                          -DOSG_USE_QT:BOOL=OFF

variant qt5 description "with Qt5 support" {
     configure.args-delete -DOSG_USE_QT:BOOL=OFF
     configure.args-append -DOSG_USE_QT:BOOL=ON -DDESIRED_QT_VERSION=5
}
---
as the right stuff got built:
---
$ port contents OpenSceneGraph | grep Qt
   /opt/local/include/osgQt/Export
   /opt/local/include/osgQt/GraphicsWindowQt
   /opt/local/include/osgQt/QFontImplementation
   /opt/local/include/osgQt/QGraphicsViewAdapter
   /opt/local/include/osgQt/QWebViewImage
   /opt/local/include/osgQt/QWidgetImage
   /opt/local/include/osgQt/Version
   /opt/local/lib/libosgQt.130.dylib
   /opt/local/lib/libosgQt.3.4.0.dylib
   /opt/local/lib/libosgQt.dylib
   /opt/local/lib/pkgconfig/openscenegraph-osgQt.pc
---
which I didn't notice before since I did a case-sensitive grep with 'qt' 
as search strings.
:-)



More information about the osg-users mailing list