The sample from the bug report can't reproduce the problem for me too.
But it exists in my real project. I use open-source Qt (thus, not static).
In my project I have static lib with abstract classes. I also have
shared lib which links against static one and implements some of these
abstract classes.
In the static lib I also have classes which manipulates the objects
derived from these abstract classes. There I get the problem trying to
connect to signals of abstract classes.
Unfortunately, I failed to create sample in a reasonable amount of time.
And have no time for this currently...
Here is the related bug report, as it seems:
https://bugreports.qt.io/browse/QTBUG-61710
On 7/13/2018 2:57 PM, Jean-Michaël Celerier wrote:
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 <mailto:alervd...@gmail.com>> wrote:
Hello,
https://bugreports.qt.io/browse/QTBUG-43556
<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 <mailto:Interest@qt-project.org>
http://lists.qt-project.org/mailman/listinfo/interest
<http://lists.qt-project.org/mailman/listinfo/interest>
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest