? paraview-osx-qt.patch
Index: Utilities/VTKClientServer/Rendering/CMakeLists.txt
===================================================================
RCS file: /cvsroot/ParaView3/ParaView3/Utilities/VTKClientServer/Rendering/CMakeLists.txt,v
retrieving revision 1.4
diff -u -r1.4 CMakeLists.txt
--- Utilities/VTKClientServer/Rendering/CMakeLists.txt	1 Jun 2006 19:55:08 -0000	1.4
+++ Utilities/VTKClientServer/Rendering/CMakeLists.txt	3 Aug 2009 18:00:40 -0000
@@ -1,5 +1,14 @@
 SET(KIT_WRAP_DEPS GenericFiltering Graphics Imaging IO)
+
 IF (VTK_USE_X)
   INCLUDE_DIRECTORIES(${X11_X11_INCLUDE_PATH})
 ENDIF (VTK_USE_X)
+
+IF(VTK_USE_QT)
+  SET(QT_DONT_USE_QTGUI)
+  INCLUDE(${QT_USE_FILE})
+
+  SET(KIT_WRAP_DEPS ${KIT_WRAP_DEPS} ${QT_LIBRARIES})
+ENDIF(VTK_USE_QT)
+
 PV_WRAP_VTK_CS(Rendering RENDERING "${KIT_WRAP_DEPS}")
Index: Utilities/VTKClientServer/Views/CMakeLists.txt
===================================================================
RCS file: /cvsroot/ParaView3/ParaView3/Utilities/VTKClientServer/Views/CMakeLists.txt,v
retrieving revision 1.2
diff -u -r1.2 CMakeLists.txt
--- Utilities/VTKClientServer/Views/CMakeLists.txt	3 Dec 2007 21:33:57 -0000	1.2
+++ Utilities/VTKClientServer/Views/CMakeLists.txt	3 Aug 2009 18:00:40 -0000
@@ -1,2 +1,13 @@
 SET(KIT_WRAP_DEPS Infovis Filtering)
+
+IF(VTK_USE_QT)
+  SET(QT_DONT_USE_QTGUI)
+  INCLUDE(${QT_USE_FILE})
+
+  MESSAGE(${QT_LIBRARIES})
+
+  SET(KIT_WRAP_DEPS ${KIT_WRAP_DEPS} ${QT_LIBRARIES})
+ENDIF(VTK_USE_QT)
+
 PV_WRAP_VTK_CS(Views VIEWS "${KIT_WRAP_DEPS}")
+
Index: VTK/Geovis/CMakeLists.txt
===================================================================
RCS file: /cvsroot/ParaView3/ParaView3/VTK/Geovis/CMakeLists.txt,v
retrieving revision 1.14
diff -u -r1.14 CMakeLists.txt
--- VTK/Geovis/CMakeLists.txt	31 Jul 2009 14:52:56 -0000	1.14
+++ VTK/Geovis/CMakeLists.txt	3 Aug 2009 18:00:41 -0000
@@ -56,6 +56,13 @@
 SET(KIT_PYTHON_DEPS)
 SET(KIT_JAVA_DEPS)
 
+IF(VTK_USE_QT)   
+  SET(QT_DONT_USE_QTGUI)
+  INCLUDE(${QT_USE_FILE})
+
+  SET (KIT_LIBS ${KIT_LIBS} ${QT_LIBRARIES})
+ENDIF(VTK_USE_QT)
+
 #-----------------------------------------------------------------------------
 # Include CMake code common to all kits.
 INCLUDE(${VTK_CMAKE_DIR}/KitCommonBlock.cmake)
Index: VTK/Rendering/CMakeLists.txt
===================================================================
RCS file: /cvsroot/ParaView3/ParaView3/VTK/Rendering/CMakeLists.txt,v
retrieving revision 1.305
diff -u -r1.305 CMakeLists.txt
--- VTK/Rendering/CMakeLists.txt	3 Aug 2009 14:05:42 -0000	1.305
+++ VTK/Rendering/CMakeLists.txt	3 Aug 2009 18:00:41 -0000
@@ -335,6 +335,7 @@
     vtkQtTreeRingLabelMapper.cxx
     )
   SET (KIT_LIBS ${KIT_LIBS} ${QT_LIBRARIES})
+  SET (KIT_JAVA_LIBS ${KIT_JAVA_LIBS} ${QT_LIBRARIES})
 ENDIF(VTK_USE_QT)
 
 # The set of source files to be encoded.
Index: VTK/Views/CMakeLists.txt
===================================================================
RCS file: /cvsroot/ParaView3/ParaView3/VTK/Views/CMakeLists.txt,v
retrieving revision 1.15
diff -u -r1.15 CMakeLists.txt
--- VTK/Views/CMakeLists.txt	31 Jul 2009 14:53:23 -0000	1.15
+++ VTK/Views/CMakeLists.txt	3 Aug 2009 18:00:41 -0000
@@ -43,6 +43,13 @@
 SET(KIT_PYTHON_DEPS)
 SET(KIT_JAVA_DEPS)
 
+IF(VTK_USE_QT)   
+  SET(QT_DONT_USE_QTGUI)
+  INCLUDE(${QT_USE_FILE})
+
+  SET (KIT_LIBS ${KIT_LIBS} ${QT_LIBRARIES})
+ENDIF(VTK_USE_QT)
+
 #-----------------------------------------------------------------------------
 # Include CMake code common to all kits.
 INCLUDE(${VTK_CMAKE_DIR}/KitCommonBlock.cmake)
Index: VTK/Views/Testing/Cxx/CMakeLists.txt
===================================================================
RCS file: /cvsroot/ParaView3/ParaView3/VTK/Views/Testing/Cxx/CMakeLists.txt,v
retrieving revision 1.25
diff -u -r1.25 CMakeLists.txt
--- VTK/Views/Testing/Cxx/CMakeLists.txt	18 May 2009 17:33:33 -0000	1.25
+++ VTK/Views/Testing/Cxx/CMakeLists.txt	3 Aug 2009 18:00:41 -0000
@@ -36,6 +36,14 @@
                          EXTRA_INCLUDE vtkTestDriver.h)
   ADD_EXECUTABLE(${KIT}CxxTests ${Tests})
   TARGET_LINK_LIBRARIES(${KIT}CxxTests vtkViews)
+
+  IF(VTK_USE_QT)
+    SET(QT_DONT_USE_QTGUI)
+    INCLUDE(${QT_USE_FILE})
+
+    TARGET_LINK_LIBRARIES(${KIT}CxxTests ${QT_LIBRARIES})
+  ENDIF(VTK_USE_QT)
+
   SET (TestsToRun ${Tests})
   REMOVE (TestsToRun ${KIT}CxxTests.cxx)
 
