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)

👋 Kindness is contagious

Engage with a sea of insights in this enlightening article, highly esteemed within the encouraging DEV Community. Programmers of every skill level are invited to participate and enrich our shared knowledge.

A simple "thank you" can uplift someone's spirits. Express your appreciation in the comments section!

On DEV, sharing knowledge smooths our journey and strengthens our community bonds. Found this useful? A brief thank you to the author can mean a lot.

Okay