Hi Alejandro,

How is the right way to compile OSG without Qt?

On my Windows machine at least, if I set QT_QMAKE_EXECUTABLE to empty and do configure in CMake, it will set all the Qt variables to *_NOTFOUND and when I generate it won't include the osgQt library in the build. Perhaps that would work for you, it's the one variable I've found that setting empty would disable Qt.

Another option could have been to rename / move your Qt libraries to somewhere that CMake wouldn't find them, then configure and generate and since it won't find the required libraries it will not include osgQt in the build, but that's probably harder to do.

I guess osgQt should be removed from the build automatically in your situation (there should be some code in the CMake files that detects it). Feel free to poke around and find out how to modify them to do this and submit the changes.

Hope this helps,

J-S
--
______________________________________________________
Jean-Sebastien Guay    [email protected]
                               http://www.cm-labs.com/
                        http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to