1 ## ==================================================
2 ## == Find Qt4 and check if it was well configured ==
3 ## ==================================================
5 OPTION(USE_QT4 "Build Qt4-based code" OFF)
8 FIND_PACKAGE(Qt4 REQUIRED)
9 INCLUDE(${QT_USE_FILE})
14 FOREACH(_m ${_modules})
16 MESSAGE(FATAL_ERROR "${_m} module is required but not available.")
18 ENDIF(NOT ${_m}_LOADED)
22 cpPlugins_Qt4_VTKWidget
24 CACHE STRING "Base Qt4-based vtkRenderWindow"