diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-04-27 12:34:56 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-04-27 12:34:56 +0200 |
commit | e10e8aab78cd70edc606b475d7feca2f0845f780 (patch) | |
tree | 0f71ad0263db4d8f1dd22ce3d575a202c5c444ba /odb/qt/basic/mysql/default-mapping.hxx | |
parent | 3b0c8f513fe83d279c17486c0e91adb35db0e07b (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/basic/mysql/default-mapping.hxx')
-rw-r--r-- | odb/qt/basic/mysql/default-mapping.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/odb/qt/basic/mysql/default-mapping.hxx b/odb/qt/basic/mysql/default-mapping.hxx index 8ffcafe..d111a08 100644 --- a/odb/qt/basic/mysql/default-mapping.hxx +++ b/odb/qt/basic/mysql/default-mapping.hxx @@ -6,8 +6,8 @@ #ifndef ODB_QT_BASIC_MYSQL_DEFAULT_MAPPING_HXX #define ODB_QT_BASIC_MYSQL_DEFAULT_MAPPING_HXX -#include <QString> -#include <QByteArray> +#include <QtCore/QString> +#include <QtCore/QByteArray> // By default, map QString to MySQL TEXT for non-id and to VARCHAR(256) for // id members. MySQL cannot have primary keys of the TEXT type. |