Skip to content

Commit 926b388

Browse files
author
Sandro Santilli
committedOct 22, 2011
Workaround for builds against Qt 4.6.2. Fixes bug #4284.
1 parent 232f161 commit 926b388

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

‎tests/src/core/testqgsexpression.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@
2121
#include <qgsfeature.h>
2222
#include <qgsgeometry.h>
2323

24+
// Workaround for Qt 4.6.2
25+
// See http://hub.qgis.org/issues/4284
26+
Q_DECLARE_METATYPE(QVariant)
27+
2428
class TestQgsExpression: public QObject
2529
{
2630
Q_OBJECT;

0 commit comments

Comments
 (0)
Please sign in to comment.