From 91615f940f109d0f20f9a8fe19599f4268ea3d40 Mon Sep 17 00:00:00 2001 From: Martin Kleusberg Date: Thu, 18 Aug 2016 23:29:37 +0200 Subject: [PATCH] Try fixing compilation with Qt4 --- src/sqlitetypes.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/sqlitetypes.h b/src/sqlitetypes.h index 9ba0ce2d..9be6c156 100644 --- a/src/sqlitetypes.h +++ b/src/sqlitetypes.h @@ -108,6 +108,13 @@ private: typedef QSharedPointer FieldPtr; typedef QVector< FieldPtr > FieldVector; +#if QT_VERSION_MAJOR < 5 +inline bool operator<(const FieldVector&, const FieldVector&) +{ + return false; +} +#endif + class Table { public: