now I finished the jobs below:
1.have installed the mysql includes and libs.
2.have compile the file libmysql.a file//though I don't know what to do with this file
3.when I compile them using the command line
C:\QT\qt\plugins\sqldrivers>C:\QT\qt\qmake\qmake -o Makefile "INCLUDEPATH+=C:\in
clude" "LIBS+=C:\lib\opt\LIBMYSQL.a" mysql\mysql.pro
in the windows xp,I realized I have not create a project of the mysql .So which project type should I choose ?the C++libary/QT 4 plugins? or others ,please give some advices.Or just hand me some related threads.Because what I followed these books are based on the old version of QT.