When running 'designer', I got this message: "Cannot mix incompatible Qt library (version 0x50400) with this library (version 0x50401)" The core dump quickly revealed that /usr/lib64/libQt5Declarative.so.5 caused the problem. This file belongs to qtquick1-5.4.0, which was still on my system even though I upgraded other qt packages to 5.4.1. After upgrading qtquick1 to 5.4.1 the problem disappeared. After removing qtquick1 I could still run designer. Qt Designer apparantly automatically loads /usr/lib64/libQt5Declarative.so.5 (via the plugin /usr/lib64/qt5/plugins/designer/libqdeclarativeview.so) if it detects its presence. The ebuild for dev-qt/designer should thus have a dependency on dev-qt/qtquick1: If qtquick1 is installed, it should have the same version as designer. Could you update the ebuild? Reproducible: Always
Thanks, pushed a commit to the overlay for review. https://gitweb.gentoo.org/proj/qt.git/commit/?id=c23384467ccb1541f1bb4e7f333355bb98ea62d6
Maybe this would be better solved using subslots? (see also bug 523616)
(In reply to Davide Pesavento from comment #2) > Maybe this would be better solved using subslots? (see also bug 523616) Is the error because the plugin was built against an older version, or because it is an older version? If the latter, subslots won't force an upgrade.
Good question. But I agree that it's safer to use the ~ dependency, so ACK from me. Maybe add a comment in the ebuild with a reference to this bug.
Thanks, fixed in CVS. + 17 Mar 2015; Michael Palimaka <kensington@gentoo.org> + +qtquick1-5.4.1-r1.ebuild: + Pin dev-qt/designer dependency avoid a crash wrt bug #542698.