Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void MainWindow::on_loginButton_clicked() {
- QString userName = ui->userLineEdit->text();
- QString userPassword = ui->passwordLineEdit->text();
- QSqlQuery q;
- q.exec("SELECT name FROM users.name WHERE name = 'javier'");
- QString nombre = q.value(0).toString();
- qDebug() << nombre;
Add Comment
Please, Sign In to add comment