aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/json
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@theqtcompany.com>2015-11-09 11:04:49 +0100
committerChristian Stenger <christian.stenger@theqtcompany.com>2015-11-09 10:11:49 +0000
commit8cdc648139fda86f5f155ac51c4dc05a6e892e7f (patch)
treef72afac6dd29aa855dc00032aca3f960b0478bf2 /tests/auto/json
parenta4a95294031ba22f8de4321a150380cf23476e81 (diff)
Tests: Fix compilation
Change-Id: Ia63f3afd7ae3e76f78ffea31702ba5968b74b418 Reviewed-by: hjk <hjk@theqtcompany.com>
Diffstat (limited to 'tests/auto/json')
-rw-r--r--tests/auto/json/json.pro2
-rw-r--r--tests/auto/json/tst_json.cpp1
2 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/json/json.pro b/tests/auto/json/json.pro
index b7c5970698..c9f7b7d447 100644
--- a/tests/auto/json/json.pro
+++ b/tests/auto/json/json.pro
@@ -1,7 +1,7 @@
TARGET = tst_json
QT = core testlib
CONFIG -= app_bundle
-CONFIG += testcase
+CONFIG += testcase c++11
TESTDATA += test.json test.bjson test3.json test2.json bom.json
diff --git a/tests/auto/json/tst_json.cpp b/tests/auto/json/tst_json.cpp
index f24c09710d..0de0c10440 100644
--- a/tests/auto/json/tst_json.cpp
+++ b/tests/auto/json/tst_json.cpp
@@ -33,6 +33,7 @@
#include <json.h>
+#include <QFileInfo>
#include <QTest>
#include <QCryptographicHash>