Error: Failed to connect database.Driver not loaded Driver not loaded
Error: Failed to connect database.Driver not loaded Driver not loaded
Qt打包好的程序报错:Error: Failed to connect database.Driver not loaded Driver not loaded
后经排查,发现需要把Qt msvc2015_64\plugins\sqldrivers 文件夹拷贝到程序目录下,sqldrivers目录。
运行程序,错误消除。
Succeed to connect database.
#######################
QQ 3087438119