Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

QtCreator 4.9.1 crashing...: Cannot mix incompatible Qt library (version 0x50c00) with this library (version 0x50c03)



  • Hi everyone,
    I've just updated my QtCreator from 4.8.1 to 4.9.1 and it's crashing:
    Cannot mix incompatible Qt library (version 0x50c00) with this library (version 0x50c03)

    I've cleared my LD_LIBRARY_PATH,
    I'm running on Debian stretch up to date.

    Any idea what I could do?
    How can I downgrade to 4.8.1? I don't see the option when launching the maintenance tool...

    QtCreator seems to embedded Qt library... the 5.12.3. I don't get what is the problem.

    /opt/Qt$ ldd ./Tools/QtCreator/bin/qtcreator
    	linux-vdso.so.1 (0x00007ffd4a9d1000)
    	libExtensionSystem.so.4 => /opt/Qt/./Tools/QtCreator/bin/../lib/qtcreator/libExtensionSystem.so.4 (0x00007f3750f0b000)
    	libAggregation.so.4 => /opt/Qt/./Tools/QtCreator/bin/../lib/qtcreator/libAggregation.so.4 (0x00007f3750d05000)
    	libUtils.so.4 => /opt/Qt/./Tools/QtCreator/bin/../lib/qtcreator/libUtils.so.4 (0x00007f37508e9000)
    	libQt5Widgets.so.5 => /opt/Qt/./Tools/QtCreator/bin/../lib/Qt/lib/libQt5Widgets.so.5 (0x00007f375009b000)
    	libQt5Gui.so.5 => /opt/Qt/./Tools/QtCreator/bin/../lib/Qt/lib/libQt5Gui.so.5 (0x00007f374f872000)
    	libQt5Concurrent.so.5 => /opt/Qt/./Tools/QtCreator/bin/../lib/Qt/lib/libQt5Concurrent.so.5 (0x00007f374f66b000)
    	libQt5Network.so.5 => /opt/Qt/./Tools/QtCreator/bin/../lib/Qt/lib/libQt5Network.so.5 (0x00007f374f2c5000)
    	libQt5Core.so.5 => /opt/Qt/./Tools/QtCreator/bin/../lib/Qt/lib/libQt5Core.so.5 (0x00007f374eb32000)
    	libGL.so.1 => /usr/lib/x86_64-linux-gnu/libGL.so.1 (0x00007f374e8c0000)
    	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f374e6a3000)
    	libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f374e321000)
    	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f374e01d000)
    	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f374de06000)
    	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f374da67000)
    	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f374d863000)
    	libQt5Qml.so.5 => /opt/Qt/./Tools/QtCreator/bin/../lib/qtcreator/../Qt/lib/libQt5Qml.so.5 (0x00007f374d1c7000)
    	libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f374cfad000)
    	libicui18n.so.56 => /opt/Qt/./Tools/QtCreator/bin/../lib/Qt/lib/libicui18n.so.56 (0x00007f374cb14000)
    	libicuuc.so.56 => /opt/Qt/./Tools/QtCreator/bin/../lib/Qt/lib/libicuuc.so.56 (0x00007f374c75c000)
    	libicudata.so.56 => /opt/Qt/./Tools/QtCreator/bin/../lib/Qt/lib/libicudata.so.56 (0x00007f374ad79000)
    	libgthread-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgthread-2.0.so.0 (0x00007f374ab77000)
    	libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007f374a863000)
    	/lib64/ld-linux-x86-64.so.2 (0x00007f3751150000)
    	libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f374a639000)
    	libxcb-dri3.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-dri3.so.0 (0x00007f374a436000)
    	libxcb-present.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-present.so.0 (0x00007f374a233000)
    	libxcb-sync.so.1 => /usr/lib/x86_64-linux-gnu/libxcb-sync.so.1 (0x00007f374a02c000)
    	libxshmfence.so.1 => /usr/lib/x86_64-linux-gnu/libxshmfence.so.1 (0x00007f3749e2a000)
    	libglapi.so.0 => /usr/lib/x86_64-linux-gnu/libglapi.so.0 (0x00007f3749bfb000)
    	libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007f37499e9000)
    	libXdamage.so.1 => /usr/lib/x86_64-linux-gnu/libXdamage.so.1 (0x00007f37497e6000)
    	libXfixes.so.3 => /usr/lib/x86_64-linux-gnu/libXfixes.so.3 (0x00007f37495e0000)
    	libX11-xcb.so.1 => /usr/lib/x86_64-linux-gnu/libX11-xcb.so.1 (0x00007f37493de000)
    	libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f374909e000)
    	libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f3748e76000)
    	libxcb-glx.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-glx.so.0 (0x00007f3748c5b000)
    	libxcb-dri2.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-dri2.so.0 (0x00007f3748a56000)
    	libXxf86vm.so.1 => /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1 (0x00007f3748850000)
    	libdrm.so.2 => /usr/lib/x86_64-linux-gnu/libdrm.so.2 (0x00007f3748640000)
    	librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f3748438000)
    	libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f37481c5000)
    	libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f3747fc1000)
    	libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f3747dbb000)
    	libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x00007f3747ba5000)
    


  • #export QT_HOME=/opt/Qt/5.12.0/gcc_64
    #export LD_LIBRARY_PATH=$QT_HOME/lib/:/usr/local/qwt-6.1.3/lib/:$LD_LIBRARY_PATH
    #export QT_PLUGIN_PATH=$QT_HOME/plugins/
    

    it seems the problem was from my env variable QT_PLUGIN_PATH that is set to Qt.5.12.0

    commenting the lines above from my bash_aliases solve the issue.


Log in to reply