Install libqt4-sql by entering the following commands in the terminal:
sudo apt update sudo apt install libqt4-sql
Description:
Qt 4 SQL module
Qt is a cross-platform C++ application framework. Qt's primary feature is its rich set of widgets that provide standard GUI functionality. . The QtSql module helps you provide seamless database integration to your Qt applications. . If you wish to use the SQL module for development, you should install the libqt4-dev package.
Homepage: http://qt-project.org/
Version: 4:4.8.7+dfsg-7ubuntu1
Section: universe/libs