Hello Laurence,

Below an overview of my settings (just in case somebody wants to confirm the results)

Thanks a lot for testing and for reporting your findings!

I'll just comment on one thing:

(5) Qt libraries 4.6.1 for Windows (minGW 4.4, 277 MB)
Download: http://qt.nokia.com/downloads/windows-cpp
Install: just run the setup and use the default location (C:\Qt\4.6.1)

...

Unlike what Jean-Sebastien Guay reports here http://thread.gmane.org/gmane.comp.graphics.openscenegraph.cvs/6738 I don't have any problems (might already been fixed):
osgviewerQT - no issues
osgviewerQtWidget - no issues

Excellent, note that I had a preinstalled Qt 4.4.3 (because that's the version we use in our software at work) for Windows / Visual Studio, which is probably what was picked up by CMake, and that's probably the reason I had problems. Anyways, I didn't really want to test that many optional compiles (I had already tested Curl, FFMPEG, etc so I think it was enough for most uses). ;-)

The only application that does not wants to build is osgQtBrowser (error message below)

The fix is simple:
The missing header files should be here: C:\Qt\4.6.1\include\QtCore

Seems like the CMakeList.txt files doesn't include the QTCORE header files.

Patch: C:\OpenSceneGraphSrc\OpenSceneGraphSVN\examples\osgQtBrowser\CMakeLists.txt
from: INCLUDE_DIRECTORIES(${QT_INCLUDE_DIR} )
to: INCLUDE_DIRECTORIES(${QT_INCLUDE_DIR} ${QT_QTCORE_INCLUDE_DIR})

It should now compile just fine.

Please send the whole modified CMakeLists.txt file to osg-submissions. That's the way to submit fixes to OSG.

It almost compiles out of the box, great job :) ! Only one CMakeList.txt file needs to be patched and perhaps users should be made aware about the symlink (to fix the freetype issue).

Yeah, that could be documented (where? Perhaps a message in CMake if MinGW is detected?)

Thanks again,

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