@Sachin-Bhatt
QSqlQuery::prepare() returns a result. Check it, especially while developing and you don't know what is going on.
Change your query first to SELECT * FROM mytable WHERE id = 1 and then to SELECT * FROM mytable. If the latter does not work maybe you don't have mytable.
Game Development
What can we say - we like games. And you can use Qt to write some. Questions? Ask here.
830
Topics
4.0k
Posts
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Bad performance cube example
Unsolved -
-
-
-