Changed qprocess unittest to use specific headers instead of QtCore.
authorKurt Korbatits <kurt.korbatits@nokia.com>
Tue, 10 Jan 2012 00:13:28 +0000 (10:13 +1000)
committerQt by Nokia <qt-info@nokia.com>
Tue, 10 Jan 2012 00:25:40 +0000 (01:25 +0100)
Changed qprocess unittest to use specific classes of QtCore instead of
pulling in all of QtCore headers by using include <QtCore>
- Decreasing build time.

Change-Id: Ifc7911548e4a9323726093ac1d35e4ce38b5f8ad
Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
tests/auto/corelib/io/qprocess/fileWriterProcess/main.cpp
tests/auto/corelib/io/qprocess/testSetWorkingDirectory/main.cpp

index 3c7e63f..5851ffe 100644 (file)
@@ -38,7 +38,8 @@
 ** $QT_END_LICENSE$
 **
 ****************************************************************************/
-#include <QtCore>
+#include <QCoreApplication>
+#include <QFile>
 
 int main(int argc, char **argv)
 {
index cbe01ea..6ce8892 100644 (file)
@@ -40,7 +40,9 @@
 ****************************************************************************/
 
 
-#include <QtCore>
+#include <QCoreApplication>
+#include <QByteArray>
+#include <QDir>
 
 int main(int argc, char **argv)
 {