[Interest] New QObject::connect syntax should be avoided??

Jean-Michaël Celerier jeanmichael.celerier at gmail.com
Fri Jul 13 13:57:10 CEST 2018


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 <alervdvcw at 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 at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20180713/41890412/attachment.html>


More information about the Interest mailing list