1 ## ==================================================
2 ## == Find Qt4 and check if it was well configured ==
3 ## ==================================================
5 OPTION(BUILD_QT4_COMPONENTS "Build Qt4-based code" OFF)
6 IF(BUILD_QT4_COMPONENTS)
7 FIND_PACKAGE(Qt4 REQUIRED)
8 INCLUDE(${QT_USE_FILE})
13 # FOREACH(_m ${_modules})
14 # IF(NOT ${_m}_LOADED)
15 # MESSAGE(FATAL_ERROR "${_m} module is required but not available.")
17 # ENDIF(NOT ${_m}_LOADED)
20 # cpPlugins_Qt4_VTKWidget
22 # CACHE STRING "Base Qt4-based vtkRenderWindow"
24 # MARK_AS_ADVANCED(CLEAR cpPlugins_Qt4_VTKWidget)
25 ENDIF(BUILD_QT4_COMPONENTS)