Skip to content

Instantly share code, notes, and snippets.

@ynonp
Created September 11, 2013 15:48
Show Gist options
  • Save ynonp/6525556 to your computer and use it in GitHub Desktop.
Save ynonp/6525556 to your computer and use it in GitHub Desktop.
QSqlDatabase db = QSqlDatabase::addDatabase("QMYSQL", "products");
bool ok = db.open();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment