Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 542698 - dev-qt/designer-5.4.1 crashes with dev-qt/qtquick1-5.4.0[designer]
Summary: dev-qt/designer-5.4.1 crashes with dev-qt/qtquick1-5.4.0[designer]
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: qt-5.4.2-stable
  Show dependency tree
 
Reported: 2015-03-09 13:55 UTC by Maik Nijhuis
Modified: 2015-03-30 02:31 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maik Nijhuis 2015-03-09 13:55:02 UTC
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
Comment 1 Michael Palimaka (kensington) gentoo-dev 2015-03-16 16:04:22 UTC
Thanks, pushed a commit to the overlay for review.

https://gitweb.gentoo.org/proj/qt.git/commit/?id=c23384467ccb1541f1bb4e7f333355bb98ea62d6
Comment 2 Davide Pesavento (RETIRED) gentoo-dev 2015-03-16 17:42:10 UTC
Maybe this would be better solved using subslots? (see also bug 523616)
Comment 3 Michael Palimaka (kensington) gentoo-dev 2015-03-17 10:41:09 UTC
(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.
Comment 4 Davide Pesavento (RETIRED) gentoo-dev 2015-03-17 12:55:35 UTC
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.
Comment 5 Michael Palimaka (kensington) gentoo-dev 2015-03-17 14:51:13 UTC
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.