diff --git a/ffmpeglauncher.cpp b/ffmpeglauncher.cpp index 2f7454a..37b4d73 100644 --- a/ffmpeglauncher.cpp +++ b/ffmpeglauncher.cpp @@ -53,11 +53,11 @@ FfmpegLauncher::FfmpegLauncher(PlayerWatcher &watcher, QObject *parent) connect(&watcher, &PlayerWatcher::playbackStopped, this, &FfmpegLauncher::stopFfmpeg); connect(m_ffmpeg, &QProcess::started, this, &FfmpegLauncher::ffmpegStarted); connect(m_ffmpeg, -#if QT_DEPRECATED_SINCE(5,6) +#if QT_VERSION < QT_VERSION_CHECK(5, 6, 0) || QT_DEPRECATED_SINCE(5, 6) static_cast( #endif &QProcess::error -#if QT_DEPRECATED_SINCE(5,6) +#if QT_VERSION < QT_VERSION_CHECK(5, 6, 0) || QT_DEPRECATED_SINCE(5, 6) ) #endif , this, &FfmpegLauncher::ffmpegError);