diff options
-rw-r--r-- | odb/qt/version.hxx | 10 | ||||
-rw-r--r-- | odb/qt/version.options | 6 |
2 files changed, 12 insertions, 4 deletions
diff --git a/odb/qt/version.hxx b/odb/qt/version.hxx index 188ec11..05fbb45 100644 --- a/odb/qt/version.hxx +++ b/odb/qt/version.hxx @@ -33,9 +33,17 @@ # error incompatible odb interface version detected #endif -// libodb-qt version: odb interface version plus the bugfix +// ODB Qt interface version: odb interface version plus the Qt interface // version. // +#define ODB_QT_VERSION 1060000 +#define ODB_QT_VERSION_STR "1.6.0" + +// libodb-qt version: odb interface version plus the bugfix version. Note +// that LIBODB_QT_VERSION is always greater or equal to ODB_QT_VERSION +// since if the Qt interface virsion is incremented then the bugfix version +// must be incremented as well. +// #define LIBODB_QT_VERSION 1060000 #define LIBODB_QT_VERSION_STR "1.6.0" diff --git a/odb/qt/version.options b/odb/qt/version.options index 7a913f3..81c1da2 100644 --- a/odb/qt/version.options +++ b/odb/qt/version.options @@ -4,10 +4,10 @@ # license : GNU GPL v2; see accompanying LICENSE file # Make sure the options files as seen by the ODB compiler and header -# files as seen by the C++ compiler are from the same profile version. +# files as seen by the C++ compiler have the same Qt interface version. # --hxx-prologue '#include <odb/qt/version.hxx>' ---hxx-prologue '#if LIBODB_QT_VERSION != 1060000 // 1.6.0' ---hxx-prologue '# error ODB and C++ compilers see different libodb-qt versions' +--hxx-prologue '#if ODB_QT_VERSION != 1060000 // 1.6.0' +--hxx-prologue '# error ODB and C++ compilers see different libodb-qt interface versions' --hxx-prologue '#endif' |