Skip to content

Commit

Permalink
Only implement QVariant bug workaround when building against Qt < 4.7…
Browse files Browse the repository at this point in the history
….1 [#4284]
  • Loading branch information
Sandro Santilli committed Oct 22, 2011
1 parent 926b388 commit d7b106f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/src/core/testqgsexpression.cpp
Expand Up @@ -21,9 +21,10 @@
#include <qgsfeature.h>
#include <qgsgeometry.h>

// Workaround for Qt 4.6.2
#if QT_VERSION < 0x40701
// See http://hub.qgis.org/issues/4284
Q_DECLARE_METATYPE(QVariant)
#endif

class TestQgsExpression: public QObject
{
Expand Down

0 comments on commit d7b106f

Please sign in to comment.