开发者

How to locate MySQL header files to compile qt

开发者 https://www.devze.com 2023-04-11 16:26 出处:网络
From开发者_如何学Python the qt documentation: You need the MySQL header files and as well as the shared library

From开发者_如何学Python 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消