aboutsummaryrefslogtreecommitdiff
path: root/qt/common
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-04-27 12:34:57 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-04-27 12:34:57 +0200
commitf8b4329205ff7a1b965ce35e99a7943d9a82f5d4 (patch)
tree4fd6efd1155e675fb93e4ff0b53c837d034382d8 /qt/common
parentcca7bfddb2ac380481cf4445c8727f006f16f4b8 (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 'qt/common')
-rw-r--r--qt/common/containers/test.hxx18
-rw-r--r--qt/common/smart-ptr/driver.cxx2
2 files changed, 10 insertions, 10 deletions
diff --git a/qt/common/containers/test.hxx b/qt/common/containers/test.hxx
index a85b540..7953d14 100644
--- a/qt/common/containers/test.hxx
+++ b/qt/common/containers/test.hxx
@@ -6,15 +6,15 @@
#ifndef TEST_HXX
#define TEST_HXX
-#include <QString>
-#include <QVector>
-#include <QList>
-#include <QLinkedList>
-#include <QSet>
-#include <QMap>
-#include <QMultiMap>
-#include <QHash>
-#include <QMultiHash>
+#include <QtCore/QString>
+#include <QtCore/QVector>
+#include <QtCore/QList>
+#include <QtCore/QLinkedList>
+#include <QtCore/QSet>
+#include <QtCore/QMap>
+#include <QtCore/QMultiMap>
+#include <QtCore/QHash>
+#include <QtCore/QMultiHash>
#include <odb/core.hxx>
diff --git a/qt/common/smart-ptr/driver.cxx b/qt/common/smart-ptr/driver.cxx
index 1d51f9c..ee53c57 100644
--- a/qt/common/smart-ptr/driver.cxx
+++ b/qt/common/smart-ptr/driver.cxx
@@ -10,7 +10,7 @@
#include <cassert>
#include <iostream>
-#include <QSharedPointer>
+#include <QtCore/QSharedPointer>
#include <odb/database.hxx>
#include <odb/transaction.hxx>