PDA

View Full Version : xampp mysql with qt



tomkonikkara
9th July 2011, 15:20
I am using xampp in my windows. mysql is already installed on it. How do i connect to it. I've no idea. I've already created a table using mysql. Now i want to just read that table?

Talei
9th July 2011, 20:35
Use appropriate drive to connect to the database and the execute query to the database.
See:
http://doc.qt.nokia.com/4.7.1/sql-driver.html#qmysql-stored-procedure-support
http://cartan.cas.suffolk.edu/oopdocbook/html/qmysqldatabase.html

and also Qt Sql examples in: /qtDir/examples/sql