The spaces in the paths to MySQL are definitely the problem. It's generally a good idea to avoid spaces in paths because a lot of scripts/utilities have issues.
You try using the short mangled name Windows gave the "MySQL Server 5.5" folder (perhaps MysqlS~1.5, but check):
qmake "INCLUDEPATH+=C:\mysql\MySQLS~1.5\include" "LIBS+=C:\mysql\MySQLS~1.5\lib" mysql.pro
qmake "INCLUDEPATH+=C:\mysql\MySQLS~1.5\include" "LIBS+=C:\mysql\MySQLS~1.5\lib" mysql.pro
To copy to clipboard, switch view to plain text mode
or something like this (no guarantee):
qmake "INCLUDEPATH+=$$quote(C:\mysql\MySQL Server 5.5\include)" "LIBS+=$$quote(C:\mysql\MySQL Server 5.5\lib)" mysql.pro
qmake "INCLUDEPATH+=$$quote(C:\mysql\MySQL Server 5.5\include)" "LIBS+=$$quote(C:\mysql\MySQL Server 5.5\lib)" mysql.pro
To copy to clipboard, switch view to plain text mode
Bookmarks