1. You must execute the vcvarsall.bat file within the shell where you intend to build the plugin in order to set up the environment for visual studio. By default, the batch file is located in C:\Program Files\Microsoft Visual Studio 10.0\VC.
2. It is not complete if it did not compile.
3. Build the Sql Browser example from the Qt examples. Verify the QPSQL driver is in the driver list. Execute a query against an existing database.
OR
Create a Qt Console app with the following code:
Qt Code:
qDebug() << db.lastError();To copy to clipboard, switch view to plain text mode
Karl
Bookmarks