aboutsummaryrefslogtreecommitdiff
path: root/odb/qt/basic-mysql.options
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-11-02 15:58:39 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-11-02 15:58:39 +0200
commitd01ec34c62ebae294de49aea92bb0496188e28bb (patch)
treeb220da5c8d7401b888f47684af7169bc07b06525 /odb/qt/basic-mysql.options
parentce1d2e767f6318b22c464e4da86fd796e75401cc (diff)
Include default mapping in prologue instead of epilogue
This will allow the user to customize the mapping.
Diffstat (limited to 'odb/qt/basic-mysql.options')
-rw-r--r--odb/qt/basic-mysql.options5
1 files changed, 4 insertions, 1 deletions
diff --git a/odb/qt/basic-mysql.options b/odb/qt/basic-mysql.options
index adb3529..0be19f2 100644
--- a/odb/qt/basic-mysql.options
+++ b/odb/qt/basic-mysql.options
@@ -5,7 +5,10 @@
--profile qt/version
---odb-epilogue '#include <odb/qt/basic/mysql/default-mapping.hxx>'
+# Include the default mapping in prologue instead of epilogue to
+# allow the user to override the default mapping.
+#
+--odb-prologue '#include <odb/qt/basic/mysql/default-mapping.hxx>'
--hxx-prologue '#include <odb/qt/basic/mysql/qstring-traits.hxx>'
--hxx-prologue '#include <odb/qt/basic/mysql/qbyte-array-traits.hxx>'