You are not logged in.

#1 2016-12-18 01:17:39

gnox
Member
Registered: 2013-05-18
Posts: 83

[solved] qt apps error "incompatible Qt library"

After the latest update of qt5.7.1 , I received this error with  qtcreator also qbittorrent .

Cannot mix incompatible Qt library (version 0x50700) with this library (version 0x50701)

In journal :

Dec 17 20:08:28 arch systemd-coredump[13902]: Process 13899 (qtcreator-bin) of user 1000 dumped core.
                                              
                                              Stack trace of thread 13899:
                                              #0  0x00007fa9c4cc804f raise (libc.so.6)
                                              #1  0x00007fa9c4cc947a abort (libc.so.6)
                                              #2  0x00007fa9c58824f1 _ZNK14QMessageLogger5fatalEPKcz (libQt5Core.so.5)
                                              #3  0x00007fa9c5aa00e5 _ZN14QObjectPrivateC2Ei (libQt5Core.so.5)
                                              #4  0x00007fa9b1b2e3a1 n/a (libqgtk2style.so)
                                              #5  0x00007fa9b1b1c6dd n/a (libqgtk2style.so)
                                              #6  0x00007fa9b1b30e80 n/a (libqgtk2style.so)
                                              #7  0x00007fa9c6b26ffb _ZN13QStyleFactory6createERK7QString (libQt5Widgets.so.5)
                                              #8  0x00007fa9c6abccdb _ZN12QApplication5styleEv (libQt5Widgets.so.5)
                                              #9  0x00007fa9c6abcfed _ZN19QApplicationPrivate10initializeEv (libQt5Widgets.so.5)
                                              #10 0x00007fa9c6abd044 _ZN19QApplicationPrivate4initEv (libQt5Widgets.so.5)
                                              #11 0x000000000040a607 n/a (qtcreator-bin)
                                              #12 0x0000000000406b2c n/a (qtcreator-bin)
                                              #13 0x00007fa9c4cb5291 __libc_start_main (libc.so.6)
                                              #14 0x0000000000409f4a n/a (qtcreator-bin)
                                              
                                              Stack trace of thread 13900:
                                              #0  0x00007fa9c4d7448d poll (libc.so.6)
                                              #1  0x00007fa9c00e48e0 n/a (libxcb.so.1)
                                              #2  0x00007fa9c00e6679 xcb_wait_for_event (libxcb.so.1)
                                              #3  0x00007fa9bc13c789 n/a (libQt5XcbQpa.so.5)
                                              #4  0x00007fa9c589bcf8 n/a (libQt5Core.so.5)
                                              #5  0x00007fa9c55d9454 start_thread (libpthread.so.0)
                                              #6  0x00007fa9c4d7d7df __clone (libc.so.6)

I think ok maybe the apps are still not updated with the new version, have to wait for another update .

But if I recompile qbittorrent-git (from AUR) in theory should use the new lib version, but  I still receive the same error :

Process 12285 (qbittorrent) of user 1000 dumped core.
                                              
                                              Stack trace of thread 12285:
                                              #0  0x00007f5dc496d04f raise (libc.so.6)
                                              #1  0x00007f5dc496e47a abort (libc.so.6)
                                              #2  0x00007f5dc582b4f1 _ZNK14QMessageLogger5fatalEPKcz (libQt5Core.so.5)
                                              #3  0x00007f5dc5a490e5 _ZN14QObjectPrivateC2Ei (libQt5Core.so.5)
                                              #4  0x00007f5db8a993a1 n/a (libqgtk2style.so)
                                              #5  0x00007f5db8a876dd n/a (libqgtk2style.so)
                                              #6  0x00007f5db8a9be80 n/a (libqgtk2style.so)
                                              #7  0x00007f5dc6f95ffb _ZN13QStyleFactory6createERK7QString (libQt5Widgets.so.5)
                                              #8  0x00007f5dc6f2bcdb _ZN12QApplication5styleEv (libQt5Widgets.so.5)
                                              #9  0x00007f5dc6f2bfed _ZN19QApplicationPrivate10initializeEv (libQt5Widgets.so.5)
                                              #10 0x00007f5dc6f2c044 _ZN19QApplicationPrivate4initEv (libQt5Widgets.so.5)
                                              #11 0x0000563b1e41eb3b _ZN19QtSingleApplicationC1ERK7QStringRiPPc (qbittorrent)
                                              #12 0x0000563b1e4246a7 _ZN11ApplicationC1ERK7QStringRiPPc (qbittorrent)
                                              #13 0x0000563b1e414f18 main (qbittorrent)
                                              #14 0x00007f5dc495a291 __libc_start_main (libc.so.6)
                                              #15 0x0000563b1e41e86a _start (qbittorrent)
                                              
                                              Stack trace of thread 12286:
                                              #0  0x00007f5dc4a1948d poll (libc.so.6)
                                              #1  0x00007f5dc023d8e0 n/a (libxcb.so.1)
                                              #2  0x00007f5dc023f679 xcb_wait_for_event (libxcb.so.1)
                                              #3  0x00007f5dbc295789 n/a (libQt5XcbQpa.so.5)
                                              #4  0x00007f5dc5844cf8 n/a (libQt5Core.so.5)
                                              #5  0x00007f5dc5582454 start_thread (libpthread.so.0)
                                              #6  0x00007f5dc4a227df __clone (libc.so.6)

Last edited by gnox (2016-12-18 01:22:58)

Offline

#2 2016-12-18 01:22:40

gnox
Member
Registered: 2013-05-18
Posts: 83

Re: [solved] qt apps error "incompatible Qt library"

nevermind had to recompile qt5-styleplugins .

Offline

#3 2016-12-18 02:10:05

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: [solved] qt apps error "incompatible Qt library"

That error should only happen for software which uses Qt private headers, FWIW. I am pretty sure qbittorrent doesn't use private headers, OTOH style/theme plugins almost definitely do!


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#4 2016-12-18 12:14:29

Radioactiveman
Member
From: Germany
Registered: 2010-05-13
Posts: 388

Re: [solved] qt apps error "incompatible Qt library"

I have had the same problem with any Qt5 application.

The solution for me was to recompile the AUR package qt5gtk2.

Offline

#5 2016-12-19 01:42:13

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: [solved] qt apps error "incompatible Qt library"

Radioactiveman wrote:

I have had the same problem with any Qt5 application.

The solution for me was to recompile the AUR package qt5gtk2.

FWIW, I bumped the pkgrel on that to make sure people rebuild it. I would have done so earlier, but I overlooked qt5-* being moved to [extra] since I recently started using [testing]. yikes


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

Board footer

Powered by FluxBB