1 ## ==================================================
2 ## == Find Qt4 and check if it was well configured ==
3 ## ==================================================
5 IF(BUILD_QT4_COMPONENTS)
6 FIND_PACKAGE(Qt4 REQUIRED)
7 INCLUDE(${QT_USE_FILE})
12 FOREACH(_m ${_modules})
14 MESSAGE(FATAL_ERROR "${_m} module is required but not available.")
16 ENDIF(NOT ${_m}_LOADED)
19 cpPlugins_Qt4_VTKWidget
21 CACHE STRING "Base Qt4-based vtkRenderWindow"
23 MARK_AS_ADVANCED(CLEAR cpPlugins_Qt4_VTKWidget)
24 ENDIF(BUILD_QT4_COMPONENTS)