From Laurence Muller, "attached the CMakeList.txt to fix the issue described in: http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/2010-January/037792.html
Issue: osgQtBrowser fails to compile because it can not find the QTCore header files Fix: Add the QT_QTCORE_INCLUDE_DIR to the CMakeList.txt file Patch: ...\OpenSceneGraphSVN\examples\osgQtBrowser\CMakeLists.txt change (line 17): INCLUDE_DIRECTORIES(${QT_INCLUDE_DIR} ) to (line 17): INCLUDE_DIRECTORIES(${QT_INCLUDE_DIR} ${QT_QTCORE_INCLUDE_DIR}) "
This commit is contained in:
parent
56b384d880
commit
865eb1df2f
@ -14,7 +14,7 @@ SET(TARGET_SRC
|
||||
)
|
||||
|
||||
SET(TARGET_EXTERNAL_LIBRARIES ${QT_QTCORE_LIBRARY_RELEASE} ${QT_QTGUI_LIBRARY_RELEASE} ${QT_QTOPENGL_LIBRARY_RELEASE} ${QT_QTWEBKIT_LIBRARY_RELEASE})
|
||||
INCLUDE_DIRECTORIES(${QT_INCLUDE_DIR} )
|
||||
INCLUDE_DIRECTORIES(${QT_INCLUDE_DIR} ${QT_QTCORE_INCLUDE_DIR})
|
||||
|
||||
SET(TARGET_ADDED_LIBRARIES osgWidget )
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user