PDA

View Full Version : configure with mysql and postgres on win 7 vs 2008 x64



SElsner
9th October 2011, 11:56
Hello,

I am trying to build Qt 4.7.4 with mysql and postgresql on Windows 7 with the VS 2008 Sp1 x64 command prompt. This is the configure line I use:

configure -opensource -qt-sql-psql -qt-sql-mysql -no-qt3support -I C:\progra~1\MySQL\MYSQLS~1.1\include -I C:\progra~1\POSTGR~1\9.1\include -L C:\progra~1\MySQL\MYSQLS~1.1\lib -L C:\progra~1\POSTGR~1\9.1\lib

I made sure all the include and lib paths do exist with the correct libs, but nontheless I get the "libmysql.lib not found" error when building. Do I have to use another syntax with the -L and/or -I?

Cheers

Sebastian