From a758d5641c330504941b531cc62f836ea11919c7 Mon Sep 17 00:00:00 2001 From: Rohan McGovern Date: Thu, 22 Sep 2011 09:28:24 +1000 Subject: Fixed compile of tests and examples. Do not attempt to compile a private symbols autotest in a public-symbols-only build. Explicitly opt-in to QtWidgets where needed. Replace QApplication with QGuiApplication where QtWidgets is not needed. Change-Id: Id2312c65dcb8835e97d9afa506d64f612744d3d6 Reviewed-on: http://codereview.qt-project.org/5337 Reviewed-by: Qt Sanity Bot Reviewed-by: Aaron McCarthy --- tests/auto/auto.pro | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/auto/auto.pro') diff --git a/tests/auto/auto.pro b/tests/auto/auto.pro index ad5c6453..485aeeeb 100644 --- a/tests/auto/auto.pro +++ b/tests/auto/auto.pro @@ -26,3 +26,6 @@ SUBDIRS += geotestplugin \ contains(config_test_jsondb, yes) { SUBDIRS += qplacemanager_jsondb } + +!contains(QT_CONFIG,private-tests):SUBDIRS -= \ + sphere -- cgit v1.2.1