Add network reachability plugin on macOS.
This commit is contained in:
parent
d5237e224e
commit
393ae95d7f
2 changed files with 2 additions and 0 deletions
1
external/qt/qt6/CMakeLists.txt
vendored
1
external/qt/qt6/CMakeLists.txt
vendored
|
|
@ -159,6 +159,7 @@ else()
|
|||
lib/${qt_lib_prefix}Qt6BundledFreetype
|
||||
plugins/platforms/${qt_lib_prefix}qcocoa
|
||||
plugins/tls/${qt_lib_prefix}qsecuretransportbackend
|
||||
plugins/networkinformation/${qt_lib_prefix}qscnetworkreachability
|
||||
)
|
||||
foreach (lib ${qt_libs})
|
||||
list(APPEND qt_libs_list "${qt_loc}/${lib}${qt_lib_suffix}")
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@ https://github.com/desktop-app/legal/blob/master/LEGAL
|
|||
|
||||
#ifdef Q_OS_MAC
|
||||
Q_IMPORT_PLUGIN(QSecureTransportBackend)
|
||||
Q_IMPORT_PLUGIN(QSCNetworkReachabilityNetworkInformationBackendFactory)
|
||||
#else // Q_OS_MAC
|
||||
Q_IMPORT_PLUGIN(QTlsBackendOpenSSL)
|
||||
#endif // Q_OS_MAC
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue