diff --git a/app/streaming/input/input.cpp b/app/streaming/input/input.cpp index a28b2c9a..fb11938b 100644 --- a/app/streaming/input/input.cpp +++ b/app/streaming/input/input.cpp @@ -138,7 +138,11 @@ SdlInputHandler::SdlInputHandler(StreamingPreferences& prefs, int streamWidth, i // ,,,... // QString streamIgnoreDeviceGuids = qgetenv("STREAM_IGNORE_DEVICE_GUIDS"); +#if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0) m_IgnoreDeviceGuids = streamIgnoreDeviceGuids.split(',', Qt::SkipEmptyParts); +#else + m_IgnoreDeviceGuids = streamIgnoreDeviceGuids.split(',', QString::SkipEmptyParts); +#endif // For SDL_HINT_GAMECONTROLLER_IGNORE_DEVICES, we use the union of SDL_GAMECONTROLLER_IGNORE_DEVICES // and STREAM_GAMECONTROLLER_IGNORE_DEVICES while streaming. STREAM_GAMECONTROLLER_IGNORE_DEVICES_EXCEPT