diff options
Diffstat (limited to 'tests/auto/headersclean/tst_headersclean.cpp')
-rw-r--r-- | tests/auto/headersclean/tst_headersclean.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/auto/headersclean/tst_headersclean.cpp b/tests/auto/headersclean/tst_headersclean.cpp index e964f30..facfa55 100644 --- a/tests/auto/headersclean/tst_headersclean.cpp +++ b/tests/auto/headersclean/tst_headersclean.cpp @@ -50,7 +50,10 @@ #include <QtTest/QtTest> #include <QtScript/QtScript> -#include <QtScriptTools/QtScriptTools> + +#ifdef QT_SCRIPTTOOLS_LIB +# include <QtScriptTools/QtScriptTools> +#endif class tst_HeadersClean: public QObject { |