From b8d656d8787aaa5fd15d9646882a77ca818b80bd Mon Sep 17 00:00:00 2001 From: Kent Hansen Date: Fri, 16 Sep 2011 14:07:05 +0200 Subject: Fix autotest gui/widgets dependencies This is in preparation of removing testlib's dependency on QtGui and QtWidgets. Autotests that need QtWidgets api must explicitly include it (since the types are no longer provided by the QtGui master header). Autotests that don't need QtGui or QtWidgets api shouldn't link against those libraries. Change-Id: I2808289068514fcac582808828ad4634e2631733 Reviewed-on: http://codereview.qt-project.org/5093 Reviewed-by: Qt Sanity Bot Reviewed-by: Lars Knoll --- tests/auto/qformlayout/tst_qformlayout.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/auto/qformlayout') diff --git a/tests/auto/qformlayout/tst_qformlayout.cpp b/tests/auto/qformlayout/tst_qformlayout.cpp index f35933d0dc..4425205eb9 100644 --- a/tests/auto/qformlayout/tst_qformlayout.cpp +++ b/tests/auto/qformlayout/tst_qformlayout.cpp @@ -47,6 +47,10 @@ #include #include +#include +#include +#include +#include #include #include -- cgit v1.2.3