aboutsummaryrefslogtreecommitdiff
path: root/odb/qt/date-time/sqlite/default-mapping.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-04-27 12:34:56 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-04-27 12:34:56 +0200
commite10e8aab78cd70edc606b475d7feca2f0845f780 (patch)
tree0f71ad0263db4d8f1dd22ce3d575a202c5c444ba /odb/qt/date-time/sqlite/default-mapping.hxx
parent3b0c8f513fe83d279c17486c0e91adb35db0e07b (diff)
Use QtCore prefix when including Qt headers1.4.0
This appears to be more portable. For example, on Mac OS X with -framework QtCore option include <QString> does not work while including <QtCore/QString> does.
Diffstat (limited to 'odb/qt/date-time/sqlite/default-mapping.hxx')
-rw-r--r--odb/qt/date-time/sqlite/default-mapping.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/odb/qt/date-time/sqlite/default-mapping.hxx b/odb/qt/date-time/sqlite/default-mapping.hxx
index 82321af..e497e96 100644
--- a/odb/qt/date-time/sqlite/default-mapping.hxx
+++ b/odb/qt/date-time/sqlite/default-mapping.hxx
@@ -6,9 +6,9 @@
#ifndef ODB_QT_DATE_TIME_SQLITE_DEFAULT_MAPPING_HXX
#define ODB_QT_DATE_TIME_SQLITE_DEFAULT_MAPPING_HXX
-#include <QDate>
-#include <QTime>
-#include <QDateTime>
+#include <QtCore/QDate>
+#include <QtCore/QTime>
+#include <QtCore/QDateTime>
// Map QDate to SQLite TEXT by default. QDate provides a null representation
// so allow NULL values by default.