Hi,
Considering that WAMP is installed, and trying to use the MySQL (from WAMP) with Qt/SQL. The following code lead to an error:
The error is "Driver not loaded" .Qt Code:
db.setHostName("localhost"); db.setDatabaseName("mydb"); db.setUserName("root"); db.setPassword(""); bool ok = db.open();To copy to clipboard, switch view to plain text mode
One solution is to install another SQL.
Is it possible to solve this without additional installations, so the already installed MySQL could be used?
Thanks for the attention.
Bookmarks