QLibrary加载库失败
QString strPath = QCoreApplication::applicationDirPath().append("/").append("QtSql4.dll");
QLibrary hdll(strPath); //加载dll,当前目录
if (hdll.isLoaded())
{
\\\\\\
}
else
{
QString str = hdll.errorString();
int a= 1;
}
提示未知错误,库是有的,请问是什么原因,感谢啊。