diff options
| author | Jeremy Lainé <jeremy.laine@m4x.org> | 2010-09-10 08:29:02 +0000 |
|---|---|---|
| committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2010-09-10 08:29:02 +0000 |
| commit | f43043e5ac727fc227d7c69673c8747507e72cf0 (patch) | |
| tree | c3e0c01ecca774d6e8f772833b19984ff1c356cc /tests/tests.cpp | |
| parent | 3488995080d1627f53a4f9215f3a3b67fadb98b1 (diff) | |
| download | qxmpp-f43043e5ac727fc227d7c69673c8747507e72cf0.tar.gz | |
define QXMPP_VERSION as a macro returning an integer (like QT_VERSION),
so that it is possible to write code such as:
#if QXMPP_VERSION >= 0x000300
// we have QXmpp 0.3.0 or later
#endif
Diffstat (limited to 'tests/tests.cpp')
| -rw-r--r-- | tests/tests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tests.cpp b/tests/tests.cpp index 875448ad..2899fbe1 100644 --- a/tests/tests.cpp +++ b/tests/tests.cpp @@ -132,7 +132,7 @@ void TestUtils::testMime() void TestUtils::testLibVersion() { - QCOMPARE(QXmppVersion(), QString("0.3.0_unreleased")); + QCOMPARE(QXmppVersion(), QString("0.2.90")); } template <class T> |
