February 2019
Beginner
136 pages
3h 7m
English
The Ubuntu operating system makes it reasonably easy to install Qt 5. Issue the following commands to set up your box:
sudo apt-get install qt5-default
After the installation, Qt programs will be compiled and run from the command line. In Chapter 6, Connecting Qt with Databases, we will illustrate how to connect to the database using Qt. Issue the following command to ensure that the relevant libraries are installed for Qt to work with. The database that will'll connect to is MySQL:
sudo apt-get install libqt5sql5-mysql
Read now
Unlock full access