From aa500fde7cea3f9ed9cdfb42f8597e399d8e9e24 Mon Sep 17 00:00:00 2001 From: Kurt Korbatits Date: Tue, 10 Jan 2012 10:13:28 +1000 Subject: Changed qprocess unittest to use specific headers instead of QtCore. Changed qprocess unittest to use specific classes of QtCore instead of pulling in all of QtCore headers by using include - Decreasing build time. Change-Id: Ifc7911548e4a9323726093ac1d35e4ce38b5f8ad Reviewed-by: Jason McDonald --- tests/auto/corelib/io/qprocess/fileWriterProcess/main.cpp | 3 ++- tests/auto/corelib/io/qprocess/testSetWorkingDirectory/main.cpp | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'tests/auto') diff --git a/tests/auto/corelib/io/qprocess/fileWriterProcess/main.cpp b/tests/auto/corelib/io/qprocess/fileWriterProcess/main.cpp index 3c7e63fef3..5851ffe3da 100644 --- a/tests/auto/corelib/io/qprocess/fileWriterProcess/main.cpp +++ b/tests/auto/corelib/io/qprocess/fileWriterProcess/main.cpp @@ -38,7 +38,8 @@ ** $QT_END_LICENSE$ ** ****************************************************************************/ -#include +#include +#include int main(int argc, char **argv) { diff --git a/tests/auto/corelib/io/qprocess/testSetWorkingDirectory/main.cpp b/tests/auto/corelib/io/qprocess/testSetWorkingDirectory/main.cpp index cbe01ea00a..6ce8892354 100644 --- a/tests/auto/corelib/io/qprocess/testSetWorkingDirectory/main.cpp +++ b/tests/auto/corelib/io/qprocess/testSetWorkingDirectory/main.cpp @@ -40,7 +40,9 @@ ****************************************************************************/ -#include +#include +#include +#include int main(int argc, char **argv) { -- cgit v1.2.3