Top "Qtsql" questions

Questions related to QtSQl Module, a collection of Qt classes that work with various relational database management systems.

QtSql multiple query execution

... query.exec("insert into person values(104, 'Roberto', 'Robitaille')"); query.exec("insert into person values(105, 'Maria', 'Papadopoulos')"); ... Can these be bind …

qt qt4 qtsql
Qt : Cannot open include file: 'QtSql': No such file or directory

It might be a duplicate question, but the founded answers haven't solved my problem. I am trying to create a …

c++ qt qt-creator qmake qtsql
Qt - QSql Unable to fetch row, no query on attempt to insert

I'm trying to insert data into a table. Here's the code: void AddContacts::saveContact() { QString first_name = ui->lineFirstName-&…

qt insert sqlite qtsql
Qt5.2 can find the mysql driver but can not load it

Operating System: win7 compiler : mingw4.8(come with Qt5.2) link to : Fedora core release 5, kernel 2.6.15-1.2054_FC5 smp on an i686 …

c++ mysql qt qtsql qsqldatabase
How to load ODBC in qt

I'm very new to Qt and C++ I'm trying to connect to an ODBC db, but I'm getting the following …

database qt odbc qtsql
parameter count mismatch in parameterized query

I am using quite a lot of parameterized queries in my code for performance reasons. In short, some of them …

c++ qt sqlite qtsql