Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Not Evaluated
-
Resolution: Won't Do
-
Affects Version/s: 6.2.2
-
Fix Version/s: None
-
Component/s: Core: QString and Unicode
-
Labels:None
Description
Since Qt6, QString::fromUcs4 has deprecated passing in uint * and requires char32_t * but there is no toUcs4 call that actually creates a list/array of char32_t only uint.
So you can not even round trip a call from toUcs4() to QString::fromUcs4 without either using a deprecated method or adding a reinterpret_cast.
This non-parallelism is silly. Please either remove the fromUcs4 that handles uint* from being deprecated or add in a version of toUcs4 that produces a list of char32_t.