Add OpenSSL plugin to Qt 6 build
This commit is contained in:
parent
6ef834cf3c
commit
993e1e052e
2 changed files with 4 additions and 1 deletions
1
external/qt/qt6/CMakeLists.txt
vendored
1
external/qt/qt6/CMakeLists.txt
vendored
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue