<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html>
<head>
  <meta name="Generator" content="Zarafa WebAccess v6.30.14-20002">
  <meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
  <title>dbusxml2cpp Bug with CRLF line endings</title>
  <style type="text/css">
      body
      {
        font-family: Arial, Verdana, Sans-Serif;
        font-size: 12px;
        padding: 5px 5px 5px 5px;
        margin: 0px;
        border-style: none;
        background-color: #ffffff;
      }

      p, ul, li
      {
        margin-top: 0px;
        margin-bottom: 0px;
      }
  </style>
</head>
<body>
<p><p>Hello!</p><p>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.</p><p>&nbsp;</p><p>The proposed mini-patch is:</p><p>&nbsp;</p><p>#ifdef Q_WS_WIN</p><p>retval.replace(QChar(13),&quot;&quot;);</p><p>#endif</p><p> </p><p>To be inserted at line 476 in qt/tools/qdbus/qdbusxml2cpp/qdbusxml2cpp.cpp,</p><p>in function &quot;stringify&quot;, before the return statement.</p><p>&nbsp;</p><p>With best regards,</p><p>Fabian Aichele</p></p>
</body>
</html>