DEV Community

Cover image for Qt error when opening ncu-ui
Talles L
Talles L

Posted on

Qt error when opening ncu-ui

If you got this when callling ncu-ui:

Cannot mix incompatible Qt library (5.15.3) with this library (5.15.2)
Enter fullscreen mode Exit fullscreen mode

Thanks to this godsend Stack Overflow answer, you can fix by doing:

$ wget -q 'http://ftp.de.debian.org/debian/pool/main/q/qtbase-opensource-src/libqt5network5_5.15.2+dfsg-9+deb11u1_amd64.deb'

$ dpkg -x libqt5network5_5.15.2+dfsg-9+deb11u1_amd64.deb .

$ sudo cp -P usr/lib/x86_64-linux-gnu/libQt5Network.so* /usr/lib/nsight-compute/host/linux-desktop-glibc_2_11_3-x64/

$ sudo cp -P usr/lib/x86_64-linux-gnu/libQt5Network.so* /usr/lib/nsight-systems/host-linux-x64/
Enter fullscreen mode Exit fullscreen mode

Now you should be able to launch it:

Top comments (0)