diff --git a/external/qt/qt6/CMakeLists.txt b/external/qt/qt6/CMakeLists.txt index 8426de7..294af5c 100644 --- a/external/qt/qt6/CMakeLists.txt +++ b/external/qt/qt6/CMakeLists.txt @@ -119,6 +119,7 @@ else() endif() set(common_qt_libs + plugins/tls/${qt_lib_prefix}qopensslbackend plugins/imageformats/${qt_lib_prefix}qwebp plugins/imageformats/${qt_lib_prefix}qgif plugins/imageformats/${qt_lib_prefix}qjpeg diff --git a/external/qt/qt_static_plugins/qt_static_plugins.cpp b/external/qt/qt_static_plugins/qt_static_plugins.cpp index f876501..c1251b4 100644 --- a/external/qt/qt_static_plugins/qt_static_plugins.cpp +++ b/external/qt/qt_static_plugins/qt_static_plugins.cpp @@ -8,7 +8,9 @@ https://github.com/desktop-app/legal/blob/master/LEGAL #include #ifndef DESKTOP_APP_USE_PACKAGED -#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0) +#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0) +Q_IMPORT_PLUGIN(QTlsBackendOpenSSL) +#else // Qt >= 6.0.0 Q_IMPORT_PLUGIN(QGenericEnginePlugin) #endif // Qt < 6.0.0