环境配置:
qt4.1 vc++6.0 mysql5.0.1
用assist的方法也做了,具体如下:
You need to get the MySQL installation files. Run SETUP.EXE and choose "Custom Install". Install the "Libs & Include Files" Module. Build the plugin as follows (here it is assumed that MySQL is installed in C:\MYSQL):
cd %QTDIR%\src\plugins\sqldrivers\mysql
qmake -o Makefile "INCLUDEPATH+=C:\MYSQL\INCLUDE" "LIBS+=C:\MYSQL\LIB\OPT\LIBMYSQL.LIB" mysql.pro
nmake
If you are not using a Microsoft compiler, replace nmake with make in the line above.
也没有提示错误,但是用程序测试一下,出现:
driver not loaded的错误?
不知道错在哪里,或少什么步骤?谢谢!
[ 此贴被XChinux在2006-07-17 23:48重新编辑 ]