Qt 5.2, test failures and rebuilds

Aurélien Gâteau agateau at kde.org
Fri Oct 4 13:12:21 UTC 2013


Hi,

I spent a bit of time this morning investigating why the khtmlparttest was 
failing on build.kde.org after its Qt copy was switched to 5.2 [1].

Error looked very strange:

QMetaType::registerType: Binary compatibility break -- Size mismatch for type 
'QtMetaTypePrivate::QSequentialIterableImpl' [1033]. Previously registered 
size 96, now registering size 104.
/srv/jenkins/workspace/kdelibs_frameworks_qt5/build/khtml/tests/khtmlparttest.shell: 
line 4: 15748
Aborted                 (core dumped) 

It turned out build.kde.org had kept a build of Phonon from before the switch 
to Qt 5.2, and Phonon was registering the type with the wrong size. Rebuilding 
Phonon and kdelibs fixed the build.

@Steve: Could this be related to the BIC changes you mentioned in: 
http://lists.kde.org/?l=kde-frameworks-devel&m=137908400611851&w=2 ? The 
changes touch iterators.

Aurélien

[1]: 
http://build.kde.org/job/kdelibs_frameworks_qt5/1338/testReport/junit/%28root%29/TestSuite/khtmlparttest/


More information about the Kde-frameworks-devel mailing list