1 ## ==========================
2 ## == Function to find Qt4 ==
3 ## ==========================
5 FUNCTION(cpPlugins_FindQt4)
6 FIND_PACKAGE(Qt4 REQUIRED)
7 INCLUDE(${QT_USE_FILE})
13 FOREACH(_m ${_required_vtk_modules})
15 MESSAGE(FATAL_ERROR "${_m} module is required but not available.")
17 ENDIF(NOT ${_m}_LOADED)
21 ## ==================================================
22 ## == Find Qt4 and check if it was well configured ==
23 ## ==================================================
28 # FIND_PACKAGE(Qt4 REQUIRED)
29 # INCLUDE(${QT_USE_FILE})
31 # _required_vtk_modules
33 # vtkGUISupportQtOpenGL
35 # FOREACH(_m ${_required_vtk_modules})
36 # IF(NOT ${_m}_LOADED)
37 # MESSAGE(FATAL_ERROR "${_m} module is required but not available.")
39 # ENDIF(NOT ${_m}_LOADED)