2009-09-17 21:40:53 +08:00
|
|
|
SET(SOURCES_H
|
|
|
|
QGraphicsViewAdapter.h
|
|
|
|
)
|
|
|
|
|
|
|
|
QT4_WRAP_CPP( SOURCES_H_MOC ${SOURCES_H} )
|
|
|
|
|
|
|
|
INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_BINARY_DIR} "./")
|
|
|
|
|
|
|
|
SET(TARGET_SRC
|
|
|
|
${SOURCES_H_MOC}
|
|
|
|
QGraphicsViewAdapter.cpp
|
|
|
|
QWebViewImage.cpp
|
|
|
|
osgQtBrowser.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
SET(TARGET_EXTERNAL_LIBRARIES ${QT_QTCORE_LIBRARY_RELEASE} ${QT_QTGUI_LIBRARY_RELEASE} ${QT_QTOPENGL_LIBRARY_RELEASE} ${QT_QTWEBKIT_LIBRARY_RELEASE})
|
2010-01-26 23:37:26 +08:00
|
|
|
INCLUDE_DIRECTORIES(${QT_INCLUDE_DIR} ${QT_QTCORE_INCLUDE_DIR})
|
2009-09-17 21:40:53 +08:00
|
|
|
|
|
|
|
SET(TARGET_ADDED_LIBRARIES osgWidget )
|
|
|
|
|
|
|
|
#### end var setup ###
|
|
|
|
SETUP_EXAMPLE(osgQtBrowser)
|