[Qt] WideString <-> UnicodeString

Zeljko zeljko at holobit.net
Tue Jun 6 11:36:07 CEST 2017



On 06/06/2017 11:26 AM, Juha Manninen wrote:
> On Tue, Jun 6, 2017 at 9:43 AM, zeljko <zeljko at holobit.net> wrote:
>> Feel free to change it (mean C part of bindings) and test.
>
> C part of bindings?
> I meant qtwidgets.pas and other bindings code.
> The OLE specific WideString should not be needed anywhere AFAIK.

You cannot just change usage of widestring to unicodestring in pas 
files, you have to make complete change in C bindings too, since 
PWideString conversion is used there.

>
> I am not sure how exactly it affects. It seems to work with WideString
> but FPC devels (like Marco) have recommended using UnicodeString
> instead (almost) everywhere.

It's true, but do not forget that we still support fpc-2.6.4.

zeljko


More information about the Qt mailing list