请教,我的
qt4.4.3+Mysql5库
编译成功了.main中加了如下;
QApplication::addLibraryPath("
C:\\Qt\\4.4.3\\plugins");
QPluginLoader sqlPlugin("C:\\Qt\\4.4.3\\plugins\\sqldrivers\\
qsqlmysql4.dll");
if(!sqlPlugin.load())
QMessageBox::information(NULL,"error",sqlPlugin.errorString (),QMessageBox::Ok);
运行出现:
error
the plugin 'C:/Qt/4.4.3/plugins/sqldrivers/qsqlmysql4.dll' uses
incompatible library.(Cannot mix debug and release libraries.)
是什么原因啊?
[ 此贴被tomlingyu在2009-02-20 20:41重新编辑 ]