Salome HOME
[salome test] Add REQUIRE_X_SERVER label on MEDReader and PARAVIS tests
[modules/paravis.git] / src / Plugins / View / CMakeLists.txt
index 69acb2283529ab3292672db066ee0e442d00d997..d67405bf3a6515ba366f6ee8fe17781734afb382 100755 (executable)
 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
 
+INCLUDE(UseQtExt)
+
 # create a plugin with a custom view that shows up in ParaView's multi-view
 # manager.  this plugin also contains a custom display panel
 
 # moc the Qt based .h files
-QT4_WRAP_CPP(MOC_SRCS MyView.h MyDisplay.h MyViewActiveOptions.h MyViewOptions.h)
+QT_WRAP_MOC(MOC_SRCS MyView.h MyDisplay.h MyViewActiveOptions.h MyViewOptions.h)
 
 # invoke macro to create sources for our custom view and display panel
 ADD_PARAVIEW_VIEW_MODULE(