<div dir="ltr"><div>Using clang 6.0.1 and Qt 5.11.1 :<br></div><div><br></div><div>    clang++ -O3 -flto /tmp/main.cpp -fPIE -I/usr/include/qt/ -I/usr/include/qt/QtCore -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -lQt5Widgets -lQt5Core</div><div><br></div><div>I did not have the problem in the bug report. Are you using a static Qt maybe ? <br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><br></div><div><font color="#783f04"><br></font></div><div><font face="arial, helvetica, sans-serif" size="2" color="#134f5c">-------</font></div><font face="arial, helvetica, sans-serif" size="2" color="#134f5c">Jean-Michaël Celerier</font><div><font face="arial, helvetica, sans-serif" size="2" color="#134f5c"><a href="http://www.jcelerier.name" target="_blank">http://www.jcelerier.name</a></font></div></div></div></div>
<br><div class="gmail_quote">On Fri, Jul 13, 2018 at 11:54 AM, Alexander Dyagilev <span dir="ltr"><<a href="mailto:alervdvcw@gmail.com" target="_blank">alervdvcw@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
<a href="https://bugreports.qt.io/browse/QTBUG-43556" rel="noreferrer" target="_blank">https://bugreports.qt.io/brows<wbr>e/QTBUG-43556</a><br>
<br>
I had the same problem so I had to switch to old syntax.<br>
<br>
The problem that old syntax is not well supported by Qt Creator. It's pretty hard to refactor such code, because Creator just does not see it and the code even compiles fine after incompatible changes were done....<br>
<br>
______________________________<wbr>_________________<br>
Interest mailing list<br>
<a href="mailto:Interest@qt-project.org" target="_blank">Interest@qt-project.org</a><br>
<a href="http://lists.qt-project.org/mailman/listinfo/interest" rel="noreferrer" target="_blank">http://lists.qt-project.org/ma<wbr>ilman/listinfo/interest</a><br>
</blockquote></div><br></div>