FS#66403 - [qt5-tools] Cannot mix incompatible Qt library

Attached to Project: Arch Linux
Opened by Ace (0xACE) - Saturday, 25 April 2020, 10:49 GMT
Last edited by Antonio Rojas (arojas) - Saturday, 25 April 2020, 12:47 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Antonio Rojas (arojas)
Felix Yan (felixonmars)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
In qtcreator. opening a *.ui file crashes with:

$ QT_DEBUG_PLUGINS=1 qtcreator

...

loaded library "/usr/lib/qt/plugins/designer/libqwebview.so"
QVTKWidgetPlugin instantiated

QVTKWidgetPlugin::name

QVTKWidgetPlugin::name

QVTKWidgetPlugin::group

QVTKWidgetPlugin::isContainer

QVTKWidgetPlugin::icon

QVTKWidgetPlugin::includeFile

QVTKWidgetPlugin::toolTip

QVTKWidgetPlugin::whatsThis

QVTKWidgetPlugin::name

Cannot mix incompatible Qt library (version 0x50501) with this library (version 0x50e02)




My system is currently up to date

Name : qt5-tools
Version : 5.14.2-2
Description : A cross-platform application and UI framework (Development Tools, QtHelp)
Architecture : x86_64
URL : https://www.qt.io
Licenses : GPL3 LGPL3 FDL custom
Groups : qt qt5
Provides : None
Depends On : qt5-base hicolor-icon-theme
Optional Deps : clang: for qdoc [installed]
qt5-webkit: for Qt Assistant [installed]
Required By : freecad qtcreator
Optional For : pyside2 python-pyqt5 python2-pyqt5 python2-pyside2
Conflicts With : qtchooser
Replaces : None
Installed Size : 17.64 MiB
Packager : Antonio Rojas <arojas@archlinux.org>
Build Date : Sat 11 Apr 2020 07:12:54 PM CEST
Install Date : Mon 20 Apr 2020 04:05:45 AM CEST
Install Reason : Installed as a dependency for another package
Install Script : No
Validated By : Signature



Name : qt5-base
Version : 5.14.2-1


Steps to reproduce:

In any qt project, create a new file > Qt > Qt Designer form (*.ui)

as you try to open it, qtcreator will crash as described above
This task depends upon

Closed by  Antonio Rojas (arojas)
Saturday, 25 April 2020, 12:47 GMT
Reason for closing:  Not a bug
Comment by Antonio Rojas (arojas) - Saturday, 25 April 2020, 11:21 GMT
Please post a backtrace
Comment by Ace (0xACE) - Saturday, 25 April 2020, 12:39 GMT
How do you want the backtrace generated?

I got this from gdb:

#0 0x00007ffff6489ce5 in raise () at /usr/lib/libc.so.6
#1 0x00007ffff6473857 in abort () at /usr/lib/libc.so.6
#2 0x00007ffff68c9938 in () at /usr/lib/libQt5Core.so.5
#3 0x00007ffff68de860 in () at /usr/lib/libQt5Core.so.5
#4 0x00007fffc7921fb1 in () at /usr/lib/libQt5Declarative.so.5
#5 0x00007fffc79221b2 in QDeclarativeEngine::QDeclarativeEngine(QObject*) () at /usr/lib/libQt5Declarative.so.5
#6 0x00007fffc79eaad2 in () at /usr/lib/libQt5Declarative.so.5
#7 0x00007fffc79ead36 in QDeclarativeView::QDeclarativeView(QWidget*) () at /usr/lib/libQt5Declarative.so.5
#8 0x00007fffd005b901 in () at /usr/lib/qt/plugins/designer/libqdeclarativeview.so
#9 0x00007fffe7f8f0b7 in qdesigner_internal::WidgetFactory::createCustomWidget(QString const&, QWidget*, bool*) const () at /usr/lib/libQt5Designer.so.5
#10 0x00007fffe7f8f98b in qdesigner_internal::WidgetFactory::createWidget(QString const&, QWidget*) const () at /usr/lib/libQt5Designer.so.5
#11 0x00007fffe7f988df in qdesigner_internal::WidgetDataBase::defaultPropertyValues(QString const&) () at /usr/lib/libQt5Designer.so.5
#12 0x00007fffe7f98ab7 in qdesigner_internal::WidgetDataBase::grabDefaultPropertyValues() () at /usr/lib/libQt5Designer.so.5
#13 0x00007fffe86094c8 in () at /usr/lib/qtcreator/plugins/libDesigner.so
#14 0x00007fffe8609bef in () at /usr/lib/qtcreator/plugins/libDesigner.so
#15 0x00007fffe8609dae in () at /usr/lib/qtcreator/plugins/libDesigner.so
#16 0x00007ffff024e18f in () at /usr/lib/qtcreator/plugins/libCore.so
#17 0x00007ffff025d3bc in () at /usr/lib/qtcreator/plugins/libCore.so
#18 0x00007fffe9b93095 in () at /usr/lib/qtcreator/plugins/libProjectExplorer.so
#19 0x00007ffff6b15cde in () at /usr/lib/libQt5Core.so.5
#20 0x00007ffff79a7a26 in QAbstractItemView::activated(QModelIndex const&) () at /usr/lib/libQt5Widgets.so.5
#21 0x00007ffff7a24af8 in QTreeView::mouseDoubleClickEvent(QMouseEvent*) () at /usr/lib/libQt5Widgets.so.5
#22 0x00007ffff77798b9 in QWidget::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#23 0x00007ffff782acbf in QFrame::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#24 0x00007ffff79b5d70 in QAbstractItemView::viewportEvent(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#25 0x00007ffff7a26c7c in QTreeView::viewportEvent(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#26 0x00007ffff6ae0203 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#27 0x00007ffff7735341 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#28 0x00007ffff773ea78 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#29 0x00007ffff6ae04f2 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#30 0x00007ffff773daeb in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () at /usr/lib/libQt5Widgets.so.5
#31 0x00007ffff7794b21 in () at /usr/lib/libQt5Widgets.so.5
#32 0x00007ffff7797aa4 in () at /usr/lib/libQt5Widgets.so.5
#33 0x00007ffff7735352 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#34 0x00007ffff773e829 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#35 0x00007ffff6ae04f2 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#36 0x00007ffff70621f5 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /usr/lib/libQt5Gui.so.5
#37 0x00007ffff70639b6 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /usr/lib/libQt5Gui.so.5
#38 0x00007ffff703bc5c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Gui.so.5
#39 0x00007ffff2809e2c in () at /usr/lib/libQt5XcbQpa.so.5
#40 0x00007ffff51046be in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#41 0x00007ffff5106531 in () at /usr/lib/libglib-2.0.so.0
#42 0x00007ffff5106571 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#43 0x00007ffff6b38890 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#44 0x00007ffff6adf05c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#45 0x00007ffff6ae7066 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#46 0x000055555555e8d3 in ()
#47 0x00007ffff6475023 in __libc_start_main () at /usr/lib/libc.so.6
#48 0x000055555555ed7e in ()
Comment by Antonio Rojas (arojas) - Saturday, 25 April 2020, 12:47 GMT
/usr/lib/qt/plugins/designer/libqdeclarativeview.so

This doesn't come from any official package. Rebuild whatever package provides that file.

Loading...