1 ## ==================================================
2 ## == Find Qt4 and check if it was well configured ==
3 ## ==================================================
7 FIND_PACKAGE(Qt4 REQUIRED)
8 INCLUDE(${QT_USE_FILE})
13 FOREACH(_m ${_modules})
15 MESSAGE(FATAL_ERROR "${_m} module is required but not available.")
17 ENDIF(NOT ${_m}_LOADED)
21 cpPlugins_Qt4_VTKWidget
23 CACHE STRING "Base Qt4-based vtkRenderWindow"
25 MARK_AS_ADVANCED(FORCE cpPlugins_Qt4_VTKWidget)