-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[qtbase] Present feature preset to disable openssl #38138
Comments
This is not right. You just have to be very explicit, and and there must be no reverse dependencies which prevent your choice.
Features must be additive. Downstreams cannot take away what other downstream requested. |
I am not sure I follow here. I am using manifest mode and adding If features must be additive then it seems to me that "Option 1" would be the best bet since on Windows it would seem that OpenSSL would be redundant. |
Here is how I came to that conclusion:
Is that understanding incorrect? |
Show your manifest.
In the meantime, you can try
|
Here is my current manifest: {
"name": "hive-windows-client",
"version-string": "v1.3.5",
"dependencies": [
{
"name": "qtbase",
"default-features": false,
"features": [
"concurrent",
"doubleconversion",
"freetype",
"gui",
"harfbuzz",
"icu",
"jpeg",
"network",
"opengl",
"pcre2",
"png",
"testlib",
"thread",
"widgets",
"zstd"
]
},
"qtimageformats",
"qtactiveqt",
"qtsvg",
"qtwebsockets",
"atlmfc",
"magic-enum",
{
"name": "spdlog",
"features": [
"wchar"
]
},
"cppwinrt",
"fmt",
"simonbrunel-qtpromise"
]
} So if I run the
So after some mucking around I discovered that If I understand correctly it would be because it has
and not
|
Indeed, |
This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 180 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment. |
Is your feature request related to a problem? Please describe.
I am shipping on windows so I can use the
schannel
TLS backend instead of theopenssl
backend. Right now no matter what the OpenSSL libraries are shipped since you cannot disable theopenssl
feature due to #35694. While not normally an issue I would prefer to not have OpenSSL libraries in the final package because it causes customers "automated vulnerability scans" to trip every few months. Currently I have a step to manually delete the files from the install root before it is packaged.Proposed solution
This could be attacked one of three ways:
securetransport
on iOS. (Windows would always have schannel and Qt will autodetect that fact and compile it as long as nothing else disables it.)schannel
feature flag that will disable OpenSSL and enableschannel
similar to how thesecuretransport
feature flag works. (At least would give developers an option to explicitly use one or the other. Not sure if they would ever want both.)testilb
andsql
)Describe alternatives you've considered
I just copied the port files locally and removed openssl.
Additional context
No response
The text was updated successfully, but these errors were encountered: