[SOLVED] Issue linking to MySQL
I was experiencing the following problem:
QSqlDatabase: QMYSQL driver not loaded
QSqlDatabase: available drivers: QSQLIT QMYSQL ....
I searched the internet and found I had to link the dll files of MySQL.
However I keep getting an error for which I do not find a solution.
My computer has Windows 7 installed, 64 bit and Qt 5.2.1 for Windows 64 bit.
What can I do to solve this problem?
Short answer: spaces in paths on windows are evil.
You should at least quote your path using e.g. $$quote("My path with space")
or use the 8.3 notation.
Thank you it solved the problem!