]> Creatis software - cpPlugins.git/blobdiff - cmake/QtTools.cmake
...
[cpPlugins.git] / cmake / QtTools.cmake
diff --git a/cmake/QtTools.cmake b/cmake/QtTools.cmake
deleted file mode 100644 (file)
index 8e884b0..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-## ==================================================
-## == Find Qt4 and check if it was well configured ==
-## ==================================================
-
-OPTION(USE_QT4 "Build Qt4-based code" OFF)
-IF(USE_QT4)
-  SET(QT4_FOUND "0")
-  FIND_PACKAGE(Qt4 REQUIRED)
-  INCLUDE(${QT_USE_FILE})
-  SET(
-    _modules
-    vtkGUISupportQt
-    )
-  FOREACH(_m ${_modules})
-    IF(NOT ${_m}_LOADED)
-      MESSAGE(FATAL_ERROR "${_m} module is required but not available.")
-      BREAK()
-    ENDIF(NOT ${_m}_LOADED)
-  ENDFOREACH(_m)
-  SET(QT4_FOUND "1")
-  SET(
-    cpPlugins_Qt4_VTKWidget
-    QVTKWidget
-    CACHE STRING "Base Qt4-based vtkRenderWindow"
-    )
-ENDIF(USE_QT4)
-
-## eof - $RCSfile$