<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<div>
<blockquote style="border-left: 3px solid rgb(200, 200, 200); border-top-color: rgb(200, 200, 200); border-right-color: rgb(200, 200, 200); border-bottom-color: rgb(200, 200, 200); padding-left: 1ex; margin-left: 0.8ex;">
<div>1) Clang cannot compile all Qt-using codebases. Therefore, its tooling cannot
<br>
</div>
work in all cases either.<br>
</blockquote>
</div>
</div>
<div>
<div id="appendonsend"></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
That's true, but on the other hand, covering at least a half of code bases would be a huge progress. I don't have representative statistics, but I guess that the real percentage will be larger. </div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<blockquote style="border-left: 3px solid rgb(200, 200, 200); border-top-color: rgb(200, 200, 200); border-right-color: rgb(200, 200, 200); border-bottom-color: rgb(200, 200, 200); padding-left: 1ex; margin-left: 0.8ex;">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
2) No one has volunteered to write such conversion scripts<br>
</div>
</blockquote>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Well, it could be a problem if there were no more or less commercially successful companies behind the Qt. There is a business value in such a tool. Of course providing porting as a service might bring more money, but it cannot be fully automated anyway.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<blockquote style="border-left: 3px solid rgb(200, 200, 200); border-top-color: rgb(200, 200, 200); border-right-color: rgb(200, 200, 200); border-bottom-color: rgb(200, 200, 200); padding-left: 1ex; margin-left: 0.8ex;">
And a minor (3) is that automatic conversions seldom look nice and will <br>
<div>require manual retouching anyway.</div>
</blockquote>
<div>Yes, sure. As I said before, it should be OK to automatically convert only the most straightforward cases and mark others. Even marking is already a very helpful thing.</div>
<div><br>
</div>
<div><br>
</div>
<div>Vitaly</div>
<div><br>
</div>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size: 11pt;" data-ogsc=""><b>From:</b> Development <development-bounces@qt-project.org> on behalf of Thiago Macieira <thiago.macieira@intel.com><br>
<b>Sent:</b> Thursday, April 23, 2020 15:55<br>
<b>To:</b> development@qt-project.org <development@qt-project.org><br>
<b>Subject:</b> [Development] Clang-based refactoring to Qt 6 (Proposal: Deprecate QVector in Qt 6)</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt">
<div class="PlainText">On Thursday, 23 April 2020 05:25:33 PDT Vitaly Fanaskov wrote:<br>
> Provide clang-based tools to (semi-)automatically port users' code bases to<br>
> a new version of Qt. These tools might either fix a code or at least add a<br>
> comment in potentially problematic places where a user should correct the<br>
> code. A developer who changes API should also implement a rule for these<br>
> tools.<br>
<br>
This was discussed in a QtCS two or three years ago. There are two huge <br>
problems with that:<br>
<br>
1) Clang cannot compile all Qt-using codebases. Therefore, its tooling cannot <br>
work in all cases either.<br>
<br>
2) No one has volunteered to write such conversion scripts.<br>
<br>
And a minor (3) is that automatic conversions seldom look nice and will <br>
require manual retouching anyway.<br>
-- <br>
Thiago Macieira - thiago.macieira (AT) intel.com<br>
  Software Architect - Intel System Software Products<br>
<br>
<br>
<br>
_______________________________________________<br>
Development mailing list<br>
Development@qt-project.org<br>
<a href="https://lists.qt-project.org/listinfo/development" style="">https://lists.qt-project.org/listinfo/development</a><br>
</div>
</span></font></div>
</div>
</body>
</html>