Using clang 6.0.1 and Qt 5.11.1 :

    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

I did not have the problem in the bug report. Are you using a static Qt
maybe ?



-------
Jean-Michaël Celerier
http://www.jcelerier.name

On Fri, Jul 13, 2018 at 11:54 AM, Alexander Dyagilev <alervd...@gmail.com>
wrote:

> Hello,
>
> https://bugreports.qt.io/browse/QTBUG-43556
>
> I had the same problem so I had to switch to old syntax.
>
> 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....
>
> _______________________________________________
> Interest mailing list
> Interest@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to