1
0
Fork 0

Add OpenSSL plugin to Qt 6 build

This commit is contained in:
Ilya Fedin 2021-10-21 10:10:30 +04:00 committed by John Preston
parent 6ef834cf3c
commit 993e1e052e
2 changed files with 4 additions and 1 deletions

View file

@ -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

View file

@ -8,7 +8,9 @@ https://github.com/desktop-app/legal/blob/master/LEGAL
#include <QtCore/QtPlugin>
#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