Install libqt5sql5-mysql by entering the following commands in the terminal:
sudo apt update sudo apt install libqt5sql5-mysql
Description:
Qt 5 MySQL database driver
This package contains the MySQL plugin for Qt 5. . Install it if you intend to use or write Qt programs that are to access a MySQL DB.
Homepage: http://qt-project.org/
Version: 5.9.5+dfsg-0ubuntu1
Section: universe/libs