It's necessary to add a QCoreApplication to kdeinit4

David Faure faure at
Fri Oct 17 09:15:45 BST 2008

Please don't cross post to kde-devel. Either we are discussing this here, or there.

On Tuesday 14 October 2008, 潘卫平 wrote:
> QFile::encodeName got wrong file name without a QCoreApplication object !

As I said, setlocale(LC_ALL, "");  (as done by kdeinit4, but maybe too late?) is enough to fix that, no need for a QCoreApplication itself.

But you probably missed my reply because your mail server rejected my email:
<wppan at>: host[] said:
    554 5.7.1 <wppan at>: Recipient address rejected: blocked
    using, see
    (in reply to RCPT TO command)

Ah I see you're writing from gmail this time, hopefully you get this answer then - see kde-core-devel
archives (e.g. on for other answers you might have missed.

David Faure, faure at, sponsored by Trolltech to work on KDE,
Konqueror (, and KOffice (

More information about the kde-core-devel mailing list