From c4f4be9bd15726fe02a5a8e7113566ac6c0f9527 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Fri, 4 May 2012 13:15:02 +0200 Subject: [PATCH] Windowmodality-test: Compile with Qt 4.8. Make it possible to shadow-build using Qt 4.8 for comparison. Change-Id: I1a18b7f1d03b11f0420aab14455e2c53d1afd6ba Reviewed-by: Bradley T. Hughes --- tests/manual/windowmodality/main.cpp | 10 +++++----- tests/manual/windowmodality/windowmodality.pro | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/manual/windowmodality/main.cpp b/tests/manual/windowmodality/main.cpp index 35584b5c68..c9f0578df1 100644 --- a/tests/manual/windowmodality/main.cpp +++ b/tests/manual/windowmodality/main.cpp @@ -44,11 +44,11 @@ #include #include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include enum DialogType { diff --git a/tests/manual/windowmodality/windowmodality.pro b/tests/manual/windowmodality/windowmodality.pro index 973579c508..b29e939d27 100644 --- a/tests/manual/windowmodality/windowmodality.pro +++ b/tests/manual/windowmodality/windowmodality.pro @@ -1,3 +1,3 @@ SOURCES = main.cpp FORMS = widget.ui dialog.ui -QT += widgets printsupport +greaterThan(QT_MAJOR_VERSION, 4): QT += widgets printsupport