Details
-
Bug
-
Resolution: Done
-
P2: Important
-
None
-
5.15.0
-
None
Description
On Mac, we're getting this warning:
qnetworkproxy_mac.cpp:231:50: warning: 'CFURLCreateStringByAddingPercentEscapes' is deprecated: first deprecated in macOS 10.11 - Use [NSString stringByAddingPercentEncodingWithAllowedCharacters:] instead, which always uses the recommended UTF-8 encoding, and which encodes for a specific URL component or subcomponent (since each URL component or subcomponent has different rules for what characters are valid). [-Wdeprecated-declarations]
Unfortunately, replacing the entire source code with Objective C++ so we can call the right function is beyond me.
Attachments
For Gerrit Dashboard: QTBUG-83992 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
299318,5 | qnetworkproxy_mac - do not use the deprecated API | dev | qt/qtbase | Status: MERGED | +2 | 0 |
306719,2 | qnetworkproxy_mac - do not use the deprecated API | 5.15 | qt/qtbase | Status: MERGED | +2 | 0 |