diff options
author | Jake Petroules <jake.petroules@qt.io> | 2017-11-23 16:45:56 -0800 |
---|---|---|
committer | Jake Petroules <jake.petroules@qt.io> | 2017-12-01 19:52:42 +0000 |
commit | 983caefa5b7fc8dc40bf620bd75c21d9f07c1573 (patch) | |
tree | b686d501c6b799346c99909b0d01f14728356629 /src/lib/corelib/api | |
parent | 7b25d531d6f76d7c4e6f3097b66ce9cf45e76d34 (diff) |
Change a bunch of includes to forward declarations
Change-Id: I5a03b059a66b6e7c7c9adde26e2ad4506cc21a36
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/lib/corelib/api')
-rw-r--r-- | src/lib/corelib/api/rulecommand.h | 4 | ||||
-rw-r--r-- | src/lib/corelib/api/runenvironment.h | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/src/lib/corelib/api/rulecommand.h b/src/lib/corelib/api/rulecommand.h index 54862ec31..172e1ad51 100644 --- a/src/lib/corelib/api/rulecommand.h +++ b/src/lib/corelib/api/rulecommand.h @@ -42,11 +42,13 @@ #include <tools/qbs_export.h> +#include <QtCore/qlist.h> #include <QtCore/qshareddata.h> -#include <QtCore/qstringlist.h> QT_BEGIN_NAMESPACE class QProcessEnvironment; +class QString; +class QStringList; QT_END_NAMESPACE namespace qbs { diff --git a/src/lib/corelib/api/runenvironment.h b/src/lib/corelib/api/runenvironment.h index 671fc6130..5c380d48c 100644 --- a/src/lib/corelib/api/runenvironment.h +++ b/src/lib/corelib/api/runenvironment.h @@ -43,10 +43,12 @@ #include <language/forward_decls.h> #include <tools/qbs_export.h> -#include <QtCore/qstringlist.h> +#include <QtCore/qglobal.h> QT_BEGIN_NAMESPACE class QProcessEnvironment; +class QString; +class QStringList; QT_END_NAMESPACE namespace qbs { |