]> Creatis software - clitk.git/blobdiff - vv/vvSurfaceViewerDialog.h
Ensure the compilation with Qt4 and Qt5
[clitk.git] / vv / vvSurfaceViewerDialog.h
index 90e8b98c54849f0479af286879d28bf520d09534..ff9f0be7a056f92aea349387c7fe0d982709261c 100644 (file)
@@ -23,7 +23,11 @@ class vtkPolyDataMapper;
 class vtkActor;
 class vtkOBJReader;
 
+#if QT_VERSION < 0x050000
 #include <QtDesigner/QDesignerExportWidget>
+#else
+#include <QtUiPlugin/QDesignerExportWidget>
+#endif
 #include <QTreeWidget>
 
 //====================================================================
@@ -46,7 +50,7 @@ private :
     vtkPolyDataMapper* mMapper;
     vtkActor* mActor;
     vtkRenderer * mRenderer;
-    unsigned int mCurrentTime;
+    int mCurrentTime;
 
 }; // end class vvSurfaceViewerDialog
 //====================================================================