热门评论
mac os 先连接
1 brew install mysql-client
2 进入
cd /Users/yzl/qt5.11.1/5.11.1/clang_64/plugins/sqldrivers
3 运行
install_name_tool -change /usr/local/mysql/lib/libmysqlclient.20.dylib /usr/local/opt/mysql-client/lib/libmysqlclient.20.dylib libqsqlmysql.dylib
数据库驱动路径根据本机路径确定
相关阅读
热门评论
mac os 先连接
1 brew install mysql-client
2 进入
cd /Users/yzl/qt5.11.1/5.11.1/clang_64/plugins/sqldrivers
3 运行
install_name_tool -change /usr/local/mysql/lib/libmysqlclient.20.dylib /usr/local/opt/mysql-client/lib/libmysqlclient.20.dylib libqsqlmysql.dylib
数据库驱动路径根据本机路径确定