From 7799c187328c3c00f84f820adb9341ca632f78ff Mon Sep 17 00:00:00 2001 From: tbaudier Date: Wed, 9 Mar 2016 13:50:25 +0100 Subject: [PATCH] Ensure compatibility between Qt5.5 and Qt5.x or less --- vv/vvIntensityValueSlider.h | 2 +- vv/vvLabelImageLoaderWidget.h | 2 +- vv/vvSegmentationDialog.h | 2 +- vv/vvSurfaceViewerDialog.h | 2 +- vv/vvToolBinarize.h | 2 +- vv/vvToolCropImage.h | 2 +- vv/vvToolImageArithm.h | 2 +- vv/vvToolInputSelectorWidget.h | 2 +- vv/vvToolMIP.h | 2 +- vv/vvToolMedianFilter.h | 2 +- vv/vvToolProfile.h | 2 +- vv/vvToolROIManager.h | 2 +- vv/vvToolResample.h | 2 +- vv/vvToolSegmentation.h | 2 +- vv/vvToolSimpleInputSelectorWidget.h | 2 +- vv/vvToolWidgetBase.h | 2 +- 16 files changed, 16 insertions(+), 16 deletions(-) diff --git a/vv/vvIntensityValueSlider.h b/vv/vvIntensityValueSlider.h index 1055010..25fdc57 100644 --- a/vv/vvIntensityValueSlider.h +++ b/vv/vvIntensityValueSlider.h @@ -20,7 +20,7 @@ // qt #include -#if QT_VERSION < 0x050000 +#if QT_VERSION < QT_VERSION_CHECK(5, 5, 0) #include #else #include diff --git a/vv/vvLabelImageLoaderWidget.h b/vv/vvLabelImageLoaderWidget.h index 3447dba..0477ca6 100644 --- a/vv/vvLabelImageLoaderWidget.h +++ b/vv/vvLabelImageLoaderWidget.h @@ -24,7 +24,7 @@ // qt #include -#if QT_VERSION < 0x050000 +#if QT_VERSION < QT_VERSION_CHECK(5, 5, 0) #include #else #include diff --git a/vv/vvSegmentationDialog.h b/vv/vvSegmentationDialog.h index cf248d9..7dca49e 100644 --- a/vv/vvSegmentationDialog.h +++ b/vv/vvSegmentationDialog.h @@ -32,7 +32,7 @@ #include "vtkPolyData.h" #include -#if QT_VERSION < 0x050000 +#if QT_VERSION < QT_VERSION_CHECK(5, 5, 0) #include #else #include diff --git a/vv/vvSurfaceViewerDialog.h b/vv/vvSurfaceViewerDialog.h index ff9f0be..f6a440f 100644 --- a/vv/vvSurfaceViewerDialog.h +++ b/vv/vvSurfaceViewerDialog.h @@ -23,7 +23,7 @@ class vtkPolyDataMapper; class vtkActor; class vtkOBJReader; -#if QT_VERSION < 0x050000 +#if QT_VERSION < QT_VERSION_CHECK(5, 5, 0) #include #else #include diff --git a/vv/vvToolBinarize.h b/vv/vvToolBinarize.h index 16676ae..a99bd55 100644 --- a/vv/vvToolBinarize.h +++ b/vv/vvToolBinarize.h @@ -19,7 +19,7 @@ #define VVTOOLBINARIZE_H #include -#if QT_VERSION < 0x050000 +#if QT_VERSION < QT_VERSION_CHECK(5, 5, 0) #include #else #include diff --git a/vv/vvToolCropImage.h b/vv/vvToolCropImage.h index 4024435..e544a8b 100644 --- a/vv/vvToolCropImage.h +++ b/vv/vvToolCropImage.h @@ -20,7 +20,7 @@ //qt #include -#if QT_VERSION < 0x050000 +#if QT_VERSION < QT_VERSION_CHECK(5, 5, 0) #include #else #include diff --git a/vv/vvToolImageArithm.h b/vv/vvToolImageArithm.h index e4f1b34..23b73d5 100644 --- a/vv/vvToolImageArithm.h +++ b/vv/vvToolImageArithm.h @@ -19,7 +19,7 @@ #define VVTOOLImageArithm_H #include -#if QT_VERSION < 0x050000 +#if QT_VERSION < QT_VERSION_CHECK(5, 5, 0) #include #else #include diff --git a/vv/vvToolInputSelectorWidget.h b/vv/vvToolInputSelectorWidget.h index 4bc487f..c713767 100644 --- a/vv/vvToolInputSelectorWidget.h +++ b/vv/vvToolInputSelectorWidget.h @@ -20,7 +20,7 @@ // qt #include -#if QT_VERSION < 0x050000 +#if QT_VERSION < QT_VERSION_CHECK(5, 5, 0) #include #else #include diff --git a/vv/vvToolMIP.h b/vv/vvToolMIP.h index 8ee1410..af7e1f7 100644 --- a/vv/vvToolMIP.h +++ b/vv/vvToolMIP.h @@ -48,7 +48,7 @@ along with this program. If not, see . #include #include -#if QT_VERSION < 0x050000 +#if QT_VERSION < QT_VERSION_CHECK(5, 5, 0) #include #else #include diff --git a/vv/vvToolMedianFilter.h b/vv/vvToolMedianFilter.h index af2bbf8..dea76c3 100644 --- a/vv/vvToolMedianFilter.h +++ b/vv/vvToolMedianFilter.h @@ -46,7 +46,7 @@ #define VVTOOLMedianFilter_H #include -#if QT_VERSION < 0x050000 +#if QT_VERSION < QT_VERSION_CHECK(5, 5, 0) #include #else #include diff --git a/vv/vvToolProfile.h b/vv/vvToolProfile.h index 94b377f..28cf41f 100644 --- a/vv/vvToolProfile.h +++ b/vv/vvToolProfile.h @@ -19,7 +19,7 @@ #define VVTOOLPROFILE_H #include -#if QT_VERSION < 0x050000 +#if QT_VERSION < QT_VERSION_CHECK(5, 5, 0) #include #else #include diff --git a/vv/vvToolROIManager.h b/vv/vvToolROIManager.h index c79fefc..aa84273 100644 --- a/vv/vvToolROIManager.h +++ b/vv/vvToolROIManager.h @@ -20,7 +20,7 @@ #define VVTOOLROIMANAGER_H #include -#if QT_VERSION < 0x050000 +#if QT_VERSION < QT_VERSION_CHECK(5, 5, 0) #include #else #include diff --git a/vv/vvToolResample.h b/vv/vvToolResample.h index 3cb12ef..7d3c452 100644 --- a/vv/vvToolResample.h +++ b/vv/vvToolResample.h @@ -31,7 +31,7 @@ #include "vvToolBase.h" // qt -#if QT_VERSION < 0x050000 +#if QT_VERSION < QT_VERSION_CHECK(5, 5, 0) #include #else #include diff --git a/vv/vvToolSegmentation.h b/vv/vvToolSegmentation.h index 9e3180b..4801403 100644 --- a/vv/vvToolSegmentation.h +++ b/vv/vvToolSegmentation.h @@ -19,7 +19,7 @@ #define VVTOOLSEGMENTATION_H #include -#if QT_VERSION < 0x050000 +#if QT_VERSION < QT_VERSION_CHECK(5, 5, 0) #include #else #include diff --git a/vv/vvToolSimpleInputSelectorWidget.h b/vv/vvToolSimpleInputSelectorWidget.h index 46040e4..7a06c27 100644 --- a/vv/vvToolSimpleInputSelectorWidget.h +++ b/vv/vvToolSimpleInputSelectorWidget.h @@ -19,7 +19,7 @@ #define VVTOOLSIMPLEINPUTSELECTORWIDGET_H #include -#if QT_VERSION < 0x050000 +#if QT_VERSION < QT_VERSION_CHECK(5, 5, 0) #include #else #include diff --git a/vv/vvToolWidgetBase.h b/vv/vvToolWidgetBase.h index 17daa2b..d02ba78 100644 --- a/vv/vvToolWidgetBase.h +++ b/vv/vvToolWidgetBase.h @@ -20,7 +20,7 @@ #define VVTOOLWIDGETBASE_H #include -#if QT_VERSION < 0x050000 +#if QT_VERSION < QT_VERSION_CHECK(5, 5, 0) #include #else #include -- 2.47.1