First screen capture: The warning regarding backslashes can be suppressed by using forward slashes in the command line:
qmake "INCLUDEPATH+=C:/Program Files/MySQL/MySQL Server 5.5/include" "LIBS+=C:/Program Files/MySQL/MySQL Server 5.5/lib/libmysql.a" mysql.pro
qmake "INCLUDEPATH+=C:/Program Files/MySQL/MySQL Server 5.5/include" "LIBS+=C:/Program Files/MySQL/MySQL Server 5.5/lib/libmysql.a" mysql.pro
To copy to clipboard, switch view to plain text mode
note also that I corrected the name of the library file.
Second screen capture: The error regarding a missing "mysql.h" implies that the INCLUDEPATH given in the command above is incorrect. Have a look for mysql.h in "C:/Program Files/MySQL/MySQL Server 5.5/include". Perhaps it is in a subdirectory? There may also be issues with spaces in the paths, but I don't know that for sure.
1) Did you install MingW using the instructions and then ...?
mingw-get install mingw32-utils
mingw-get install mingw32-utils
To copy to clipboard, switch view to plain text mode
2) The libmysql.a file should be in "C:/Program Files/MySQL/MySQL Server 5.5/lib/" where you ran the command. Do you see a matching DEF file there also?
3) See above.
Bookmarks