From fe670fc0f0121539379193374b4e6a732e393b85 Mon Sep 17 00:00:00 2001 From: Kari Oikarinen Date: Tue, 17 Apr 2018 10:05:55 +0300 Subject: [PATCH] tests: Include qglobal.h in EmulationDetector Checking for Q_OS_LINUX, Q_PROCESSOR_ARM and use of QT_CONFIG() checks should only happen after qglobal.h is included. Otherwise the header will be broken if included before something that uses qglobal.h Change-Id: I052e46784f7b174e74e8894e1b7c5b7528420f5d Reviewed-by: Simon Hausmann --- tests/shared/emulationdetector.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/shared/emulationdetector.h b/tests/shared/emulationdetector.h index cca11be695..2b04a1061e 100644 --- a/tests/shared/emulationdetector.h +++ b/tests/shared/emulationdetector.h @@ -29,6 +29,8 @@ #ifndef EMULATIONDETECTOR_H #define EMULATIONDETECTOR_H +#include + #if defined(Q_OS_LINUX) && defined(Q_PROCESSOR_ARM) #define SHOULD_CHECK_ARM_ON_X86