From the qt documentation:
You need the MySQL header files and as well as the shared library libmysqlclient.so. Depending on your Linux distribution you may need to install a package which is usually called "mysql-devel". [emphasis added]
How do I get these? I tried apt-get install mysql-devel
but apt-get told me it was Unable to locate package mysql-devel
. Thanks in advance.
Try using package: libmysqlclient-dev
.
You can use apt-cache search ...
to find packages.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With