Skip to content
Permalink
Browse files

Only implement QVariant bug workaround when building against Qt < 4.7…

….1 [#4284]
  • Loading branch information
Sandro Santilli
Sandro Santilli committed Oct 22, 2011
1 parent 926b388 commit d7b106fed347c4d7dcae546cb65a9a2dd6619ab0
Showing with 2 additions and 1 deletion.
  1. +2 −1 tests/src/core/testqgsexpression.cpp
@@ -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
{

0 comments on commit d7b106f

Please sign in to comment.
You can’t perform that action at this time.