Hi all,

Thank you for the helpful replies.

Volker, we will go with option 2: wolfSSL maintains the TLS backend as an 
external plugin independently of Qt, and users build it against their
installed Qt. We already have it working with Qt 6.12.1: the plugin is 
discovered in plugins/tls without Qt changes, and when the OpenSSL
plugin is also available, an application selects it with 
QSslSocket::setActiveBackend("wolfssl"). We accept rebuilding it for
each Qt version, as it relies on Qt's private API.

One small Qt change is still needed: in src/network/configure.cmake, the "ssl" 
and "dtls" features require OpenSSL (or Schannel/Secure
Transport), so a Qt built without OpenSSL headers has no QSslSocket or QDtls 
for a third-party backend to implement. I will open a JIRA ticket
and push a Gerrit change to relax this, and possibly another for selecting the 
backend without code changes.

Tim, on run-time loading: wolfSSL's API and struct layouts depend on its build 
options, so a conventional plugin is the simpler route.
Regarding the GPL concern: with option 2 the plugin is distributed by wolfSSL 
under GPLv3 or a commercial license, not by the Qt Project, so
I think it does not apply to Qt. The same goes for export control, Vladimir.

Thanks,
Hideki Miyazaki
wolfSSL Inc.

________________________________
差出人: Development <[email protected]> が EXT Tim Blechmann via 
Development <[email protected]> の代理で送信
送信: 2026 年 12 月 3 日 (木曜日) 13:42
宛先: Macieira, Thiago <[email protected]>; [email protected] 
<[email protected]>
件名: Re: [Development] [RFC] A wolfSSL TLS backend for Qt Network

>> any thoughts on building against a permissively licensed header, that
>> only provides type definitions, and load wolfssl at run-time?
>
> It's already a plugin. The application itself doesn't depend on a specific
> plugin, only the tlsbackend functionality, so it is probably not considered a
> derivative work of any of the particular backends. So long as more than one
> backend is available, I don't think this imposes a limitation.
>
> The plugin itself is GPLv3. But so long as it's a plugin and not a
> staticplugin, I don't think it matters.

from my reading of https://www.gnu.org/licenses/gpl-faq.html#GPLPlugins,
they can be considered as "combined work" as long as they are in the
same process (the FSF tends to be rather opinionated in their
interpretations, though)

> The end user is joining the parts.
interesting point, though qt (or qt users) would *distribute* the plugin
(https://www.gnu.org/licenses/gpl-faq.html#NFUseGPLPlugins)

distribution of a gpl based plugin with the main application and/or qt
would thus be different from e.g. the cuda runtime

---

not a lawyer, either (and not trying to become one)
--
Development mailing list
[email protected]
https://lists.qt-project.org/listinfo/development
-- 
Development mailing list
[email protected]
https://lists.qt-project.org/listinfo/development

Reply via email to