summaryrefslogtreecommitdiffstats
path: root/qtinterface/tqsqlfield.h
diff options
context:
space:
mode:
Diffstat (limited to 'qtinterface/tqsqlfield.h')
-rw-r--r--qtinterface/tqsqlfield.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/qtinterface/tqsqlfield.h b/qtinterface/tqsqlfield.h
index 5a0cb55..5933964 100644
--- a/qtinterface/tqsqlfield.h
+++ b/qtinterface/tqsqlfield.h
@@ -36,9 +36,11 @@ Boston, MA 02110-1301, USA.
#ifdef USE_QT4
// Reimplement the QSqlField class
-// For Qt4, no changes are needed
+// For Qt4, some changes are needed
-#include <qsqlfield.h>
+#include <Qt/q3sqlfieldinfo.h>
+
+#define QSqlFieldInfo Q3SqlFieldInfo
#endif // USE_QT4