diff options
author | Kari Oikarinen <kari.oikarinen@qt.io> | 2018-05-11 17:39:11 +0300 |
---|---|---|
committer | Kari Oikarinen <kari.oikarinen@qt.io> | 2018-05-14 12:36:28 +0000 |
commit | 3909d37cb7b25d6cead0d900f4f86613020d40a2 (patch) | |
tree | 4685ce5e891d444739aa90ccc0ea868932b4d2f0 /tests/shared | |
parent | 8e47474baf06b3884e9173302395dd25fc09eba9 (diff) |
tests: Include QFileInfo in emulationdetector.h
Otherwise using it later is a compile error on ARM if no header including it has
been included before.
Change-Id: I422eeb948da4a22bc3f649daff39740703039372
Reviewed-by: Sami Nurmenniemi <sami.nurmenniemi@qt.io>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'tests/shared')
-rw-r--r-- | tests/shared/emulationdetector.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/shared/emulationdetector.h b/tests/shared/emulationdetector.h index 2b04a1061e..ac584f121b 100644 --- a/tests/shared/emulationdetector.h +++ b/tests/shared/emulationdetector.h @@ -34,6 +34,8 @@ #if defined(Q_OS_LINUX) && defined(Q_PROCESSOR_ARM) #define SHOULD_CHECK_ARM_ON_X86 +#include <QFileInfo> + #if QT_CONFIG(process) && QT_CONFIG(regularexpression) #include <QProcess> #include <QRegularExpression> |