Hi Paul, This problem has been reported before, I did get a submission that worked for the end users but it broke on other machines so I had to revert. I'm a bit fuzzy but I think this unsuccessful change was based on FIND_PACKAGE(QT).
Checking QT4 first then if thats successful then try QT3 will probably work. Robert. On 7/8/07, Paul Melis <[EMAIL PROTECTED]> wrote:
Hello, My Gentoo system has both QT3 and 4 installed, because there's packages needing either one or the other. OSG's CMake configuration does not handle this correctly as it detects parts of both version 3 and 4, leading to QT_INCLUDE_DIR being set to /usr/qt/3/include while QT_LIBRARY_DIR is set to /usr/lib/qt4, and similar mixups for the other QT configuration values. This leads to all sorts of compilation errors for the Qt-specific stuff in OSG. The CMake files seem to use only two directives for finding QT: FIND_PACKAGE(QT3) followed by FIND_PACKAGE(QT4). This would indeed seem to suggest that if both versions are found they are both configured. Is anybody else seeing this? Is this a CMake problem or the way OSG uses it? If I comment out the find_package for QT3 all seems to be well. Perhaps the cmake configuration should first try to detect qt4 and, if not found, detect qt3, not both at the same time. Paul _______________________________________________ osg-users mailing list osg-users@openscenegraph.net http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
_______________________________________________ osg-users mailing list osg-users@openscenegraph.net http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/