Hey Qtcentre,
I'm currently working on an application which need acces to a MySQL database. I get the usual error with the missing driver for MySQL when trying to run the app in the simulator, and it wont run on the phone (n900) either.
I did the following:
Download and install MySQL with libraries
Run Qt. 4.7 Command prompt
cd c:\Qt\4.7.0\src\plugins\sqldrivers\mysql
qmake "INCLUDEPATH+=C:\\program files\\MySQL\\MySQL Server 5.1\\include" "LIBS+=C:\\program files\\MySQL\MySQL Server 5.1\\lib\\opt\\libmysql.lib" mysql.pro
nmake
Everything works until i write nmake, where i get the following error:
'nmake' is not recognized as an internal or externa......
I tried make and mingw32-make which gave the same error.
I then saw a different approach, and tried to edit the path in environment variables under systems to c:\Qt\4.7.0\bin, but didn't understand the part about adding the destination to the compiler. (what compiler and where?)
Im quite a neewb, so i'll appreciate anything easy to understand
Bookmarks