[PATCH] BUG 172567 support non ASCII user name to login in
Thiago Macieira
thiago at kde.org
Mon Oct 13 10:09:21 BST 2008
David Faure wrote:
>Hmm, but creating a QCoreApplication in kdeinit is a bad idea, since
> kdeinit forks+dlopens kdeinit modules (and kioslaves), which will then
> end up with two Q[Core]Applications...
>
>Is there a way to initialize fromLocal8Bit/toLocal8Bit without a
> QCoreApplication?
Yes:
setlocale(LC_ALL, "");
But there's no guarantee that something else won't break in the future. Qt
is not supported without QCoreApplication. QFile, for instance.
When I looked at the code, I thought it was klauncher (the second phase,
the one that actually uses Qt). I hadn't realised that kdeinit4 itself
used Qt code.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20081013/b72341f6/attachment.sig>
More information about the kde-core-devel
mailing list