aboutsummaryrefslogtreecommitdiff
path: root/odb/qt/smart-ptr
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/smart-ptr
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/smart-ptr')
-rw-r--r--odb/qt/smart-ptr/lazy-ptr.hxx6
-rw-r--r--odb/qt/smart-ptr/pointer-traits.hxx4
2 files changed, 5 insertions, 5 deletions
diff --git a/odb/qt/smart-ptr/lazy-ptr.hxx b/odb/qt/smart-ptr/lazy-ptr.hxx
index 0d0e60a..e22dc3e 100644
--- a/odb/qt/smart-ptr/lazy-ptr.hxx
+++ b/odb/qt/smart-ptr/lazy-ptr.hxx
@@ -8,9 +8,9 @@
#include <odb/pre.hxx>
-#include <QSharedPointer>
-#include <QWeakPointer>
-#include <QGlobalStatic>
+#include <QtCore/QSharedPointer>
+#include <QtCore/QWeakPointer>
+#include <QtCore/QGlobalStatic>
#include <odb/forward.hxx> // odb::database
#include <odb/traits.hxx>
diff --git a/odb/qt/smart-ptr/pointer-traits.hxx b/odb/qt/smart-ptr/pointer-traits.hxx
index 488e1db..8a981ba 100644
--- a/odb/qt/smart-ptr/pointer-traits.hxx
+++ b/odb/qt/smart-ptr/pointer-traits.hxx
@@ -8,8 +8,8 @@
#include <odb/pre.hxx>
-#include <QSharedPointer>
-#include <QWeakPointer>
+#include <QtCore/QSharedPointer>
+#include <QtCore/QWeakPointer>
#include <odb/pointer-traits.hxx>