diff --git a/Fwk/AppFwk/cafProjectDataModel/cafPdmCore/cafPdmReferenceHelper.cpp b/Fwk/AppFwk/cafProjectDataModel/cafPdmCore/cafPdmReferenceHelper.cpp index dc6c396aa5..1b5f0d9f58 100644 --- a/Fwk/AppFwk/cafProjectDataModel/cafPdmCore/cafPdmReferenceHelper.cpp +++ b/Fwk/AppFwk/cafProjectDataModel/cafPdmCore/cafPdmReferenceHelper.cpp @@ -328,7 +328,7 @@ PdmObjectHandle* PdmReferenceHelper::objectFromFieldReference( PdmFieldHandle* f if ( reference.isEmpty() ) return nullptr; if ( reference.trimmed().isEmpty() ) return nullptr; -#if ( QT_VERSION < QT_VERSION_CHECK( 6, 0, 0 ) ) +#if ( QT_VERSION < QT_VERSION_CHECK( 5, 14, 0 ) ) auto SkipEmptyParts = QString::SkipEmptyParts; #else auto SkipEmptyParts = Qt::SkipEmptyParts; diff --git a/Fwk/AppFwk/cafUserInterface/cafMemoryInspector.cpp b/Fwk/AppFwk/cafUserInterface/cafMemoryInspector.cpp index 48f97baec6..686a75e0c0 100644 --- a/Fwk/AppFwk/cafUserInterface/cafMemoryInspector.cpp +++ b/Fwk/AppFwk/cafUserInterface/cafMemoryInspector.cpp @@ -25,7 +25,7 @@ #ifdef __linux__ -#if ( QT_VERSION < QT_VERSION_CHECK( 6, 0, 0 ) ) +#if ( QT_VERSION < QT_VERSION_CHECK( 5, 14, 0 ) ) auto SkipEmptyParts = QString::SkipEmptyParts; #else auto SkipEmptyParts = Qt::SkipEmptyParts; diff --git a/Fwk/AppFwk/cafUserInterface/cafPdmUiTreeSelectionEditor.cpp b/Fwk/AppFwk/cafUserInterface/cafPdmUiTreeSelectionEditor.cpp index 60d1b0e480..1035f8d393 100644 --- a/Fwk/AppFwk/cafUserInterface/cafPdmUiTreeSelectionEditor.cpp +++ b/Fwk/AppFwk/cafUserInterface/cafPdmUiTreeSelectionEditor.cpp @@ -598,7 +598,7 @@ void PdmUiTreeSelectionEditor::slotInvertCheckedStateOfAll() //-------------------------------------------------------------------------------------------------- void PdmUiTreeSelectionEditor::setCheckedStateForIntegerItemsMatchingFilter() { -#if ( QT_VERSION < QT_VERSION_CHECK( 6, 0, 0 ) ) +#if ( QT_VERSION < QT_VERSION_CHECK( 5, 14, 0 ) ) auto SkipEmptyParts = QString::SkipEmptyParts; #else auto SkipEmptyParts = Qt::SkipEmptyParts;