If you are getting this error on comile, just add following line to your Project .pro file:

QT += sql

then you can add this lines to your CPP File:
#include <QtSql>
#include <QSqlDatabase>
#include <QSqlError>

Tags
Comments
18.12.2010
bert
Thanks for QSqlDatabase hint, i knew it but i forgot it. And this refreshed my memory. Perfect!
Leave a trace
Name *
Email *
Website
Anti SPAM * Code (1 + 5) =
Leave me a comment *
 
All comments are subject to editorial review
Post being viewed right now
Item date: 16.06.2009
Views: 666
Item date: 13.05.2009
Views: 797
Item date: 25.09.2009
Views: 439
Item date: 16.06.2009
Views: 2114
Item date: 03.01.2009
Views: 820
Item date: 18.03.2009
Views: 9217
Item date: 17.06.2009
Views: 2128
Item date: 15.05.2009
Views: 2041
Item date: 10.04.2009
Views: 1548
Item date: 02.01.2009
Views: 1381