dbusxml2cpp Bug with CRLF line endings

Fabian Aichele faichele at primusnetz.de
Sun Mar 20 23:12:48 CET 2011


Hello!

Instead of requiring emerge users to stick to the git installation by emerge or to reconfigure an external installation, you could just use a tiny patch for the qdbusxml2cpp tool included in Qt, which eliminates the carriage return characters in the auto-generated documentation strings which are the actual source of the compilation errors in the resulting .moc files.

 

The proposed mini-patch is:

 

#ifdef Q_WS_WIN

retval.replace(QChar(13),"");

#endif



To be inserted at line 476 in qt/tools/qdbus/qdbusxml2cpp/qdbusxml2cpp.cpp,

in function "stringify", before the return statement.

 

With best regards,

Fabian Aichele

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-windows/attachments/20110320/5dc4689a/attachment.htm 


More information about the Kde-windows mailing list