Change-Id: Iaa521a06730aebbbdef13c74ed9f6e13653862dd
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
TARGET = tst_headersclean
CONFIG += testcase
SOURCES += tst_headersclean.cpp
-QT = core help testlib
+QT = core testlib
+!isEmpty(QT.help.name): QT += help
+!isEmpty(QT.designer.name): QT += designer
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
#include <QtCore/QtCore>
#include <QtTest/QtTest>
+#ifdef QT_DESIGNER_LIB
#include <QtDesigner/QtDesigner>
+#endif
+#ifdef QT_HELP_LIB
#include <QtHelp/QtHelp>
+#endif
class tst_HeadersClean: public QObject
{