According to https://askubuntu.com/questions/1034313/ubuntu-18-4-libqt5core-so-5-cannot-open-shared-object-file-no-such-file-or-dir, QtGui 5 requires kernel >=3.15. I encounter the problem when my kernel is 3.10.