cannot Excecute query in sql
Unsolved
General and Desktop
-
@JonnyQB said in cannot Excecute query in sql:
qry.prepare(QString("SELECT * FROM login WHERE Username=:username and Password :passwort "));
You mean
Password=:passwort
, just like you did forUsername=:username
. Please try to look at your code before posting a question on it. -
-
Hi,
Start your application with QT_DEBUG_PLUGINS environment variable set to 1 so see what happens when the plugins are loaded.
You can set that variable in the Run part of the Project panel.
-