Runtime signal connection errors when using the new signal style
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu UI Toolkit |
Invalid
|
Undecided
|
Unassigned | ||
qtbase-opensource-src (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
In the ubuntu download manager we are using the new connection style syntax (http://
As it can be seen in the following build logs the compilation does finish with no errors but the tests raise errors at runtime (an assert was added for each of the connect calls in the project):
https:/
https:/
https:/
Some of the errors between the diff archs are the same but this feels like a coincidence. The unity-scope-click package project has had the same issue and has solved it in the following way:
scope/click/
// NOTE: using SIGNAL/SLOT macros here because new-style
// connections are flaky on ARM.
c = connect(
if (!c) {
qDebug() << "failed to connect to systemDownloadM
}
It is very interesting that the tests have never (so far) failed in the other 2 architectures (i386, amd64). I'm raising this issue because it might be hitting us in some other projects.
PS: I'm reporting this error here after talking with zoltan but I think is something that should be taken upstream or in qt5core5.
This is very informative: https:/ /lists. launchpad. net/ubuntu- phone/msg07574. html