Skip to Content
C++ GUI Programming with Qt 4
book

C++ GUI Programming with Qt 4

by Jasmin Blanchette, Mark Summerfield
February 2008
Intermediate to advanced
752 pages
19h 5m
English
Pearson
Content preview from C++ GUI Programming with Qt 4

13. Databases

Image

The QtSql module provides a platform- and database-independent interface for accessing SQL databases. This interface is supported by a set of classes that use Qt’s model/view architecture to provide database integration with the user interface. This chapter assumes familiarity with Qt’s model/view classes, covered in Chapter 10.

A database connection is represented by a QSqlDatabase object. Qt uses drivers to communicate with the various database APIs. The Qt Desktop Edition includes the following drivers:

Due to license restrictions, ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

C++ GUI Programming with Qt 4

C++ GUI Programming with Qt 4

Jasmin Blanchette, Mark Summerfield
C++ GUI Programming with Qt 3

C++ GUI Programming with Qt 3

Jasmin Blanchette, Mark Summerfield
Programming with Qt, 2nd Edition

Programming with Qt, 2nd Edition

Matthias Kalle Dalheimer

Publisher Resources

ISBN: 9780137143979Purchase book