Hi there,
I have downloaded the binary installer for QT 4.1.0 Open Source version, with the MinGW compiler, and installed it into c:\qt\4.1.0

I have mysql 4.1 running on my WinXP pc, and I have downloaded the header files and put them into c:\mysql

My issue is that it appears that I have to compile the mysql driver, according to these trolltech.com docs

Try as I might, when following these steps exactly, all I get are "undefined reference" errors when running make. EG:
Qt Code:
  1. tmp\obj\release_shared\qsql_mysql.o(.text+0x6c7):qsql_mysql.cpp: undefined reference to `mysql_stmt_error@4'
  2. tmp\obj\release_shared\qsql_mysql.o(.text+0x6db):qsql_mysql.cpp: undefined reference to `mysql_stmt_errno@4'
To copy to clipboard, switch view to plain text mode 

I should point out that I can compile a basic "hello world" app using QT just fine, so I'm reasonably sure that QT and MinGW are installed and working ok.

Can someone help me to get the mysql driver working please?

thanks