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 # ADD_DEFINITIONS(-DcpPlugins_QT4 -DcpExtensions_QT4)
24 ## ELSE(BUILD_QT4_COMPONENTS)
25 # ADD_DEFINITIONS(-UcpPlugins_QT4 -UcpExtensions_QT4)
26 ## ENDIF(BUILD_QT4_COMPONENTS)