[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
Sun Feb 14 02:04:07 PST 2016


Hi OSG folks,

how to I build OSG 3.4.0 on OSX 10.10 with Qt5 support correctly?

I have tried - using MacPorts - these options for a qt5 variant of a 
locally already existing and building 3.4.0 port:
---
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_WINDOWING_SYSTEM=Cocoa
     configure.args-delete -DOSG_USE_QT:BOOL=OFF
     configure.args-append -DOSG_USE_QT:BOOL=ON -DDESIRED_QT_VERSION=5
}
---

I have built with the OSG_WINDOWING_SYSTEM=Cocoa before, but always with 
the same result, that no
osqQt files get created.

CMake is pretty silent about Qt, even if I omit the QUIET argument from 
the find macros...

I don't know how to tackle this.

Any ideas for me?

Greets,
Marko




More information about the osg-users mailing list