diff --git a/src/QmlControls/ParameterEditorController.cc b/src/QmlControls/ParameterEditorController.cc index e28afe8e0a7360b9c78c497363160d0b72a9c4b3..8f2cb6b8dc9ec620b1095d39e9fd666a6b3019eb 100644 --- a/src/QmlControls/ParameterEditorController.cc +++ b/src/QmlControls/ParameterEditorController.cc @@ -168,7 +168,12 @@ bool ParameterEditorController::_shouldShow(Fact* fact) void ParameterEditorController::_updateParameters(void) { QObjectList newParameterList; + +#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0) QStringList searchItems = _searchText.split(' ', QString::SkipEmptyParts); +#else + QStringList searchItems = _searchText.split(' ', Qt::SkipEmptyParts); +#endif if (searchItems.isEmpty() && !_showModifiedOnly) { int compId = _parameterMgr->getComponentId(_currentCategory);