Skip to content
Permalink
Browse files

Add note for failing Qt5 test

  • Loading branch information
m-kuhn committed May 13, 2016
1 parent a349e70 commit 10134587ed8d8f2b6e76c7b1da042b97661c897c
Showing with 1 addition and 0 deletions.
  1. +1 −0 tests/src/core/testqgsfield.cpp
@@ -220,6 +220,7 @@ void TestQgsField::convertCompatible()
QVariant doubleVar( 9.7 );
QVERIFY( stringField.convertCompatible( doubleVar ) );
QCOMPARE( doubleVar.type(), QVariant::String );
// Should be fixed in Qt 5.7: https://bugreports.qt.io/browse/QTBUG-47192
QCOMPARE( doubleVar, QVariant( "9.7" ) );
QVariant nullDouble = QVariant( QVariant::Double );
QVERIFY( stringField.convertCompatible( nullDouble ) );

0 comments on commit 1013458

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