1 /**************************************************************************** |
1 /**************************************************************************** |
2 ** |
2 ** |
3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). |
3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
4 ** All rights reserved. |
4 ** All rights reserved. |
5 ** Contact: Nokia Corporation (qt-info@nokia.com) |
5 ** Contact: Nokia Corporation (qt-info@nokia.com) |
6 ** |
6 ** |
7 ** This file is part of the QtXmlPatterns module of the Qt Toolkit. |
7 ** This file is part of the QtXmlPatterns module of the Qt Toolkit. |
8 ** |
8 ** |
47 #include <QtCore/QTextCodec> |
47 #include <QtCore/QTextCodec> |
48 #include <QtCore/QTextStream> |
48 #include <QtCore/QTextStream> |
49 #include <QtCore/QUrl> |
49 #include <QtCore/QUrl> |
50 #include <QtCore/QVariant> |
50 #include <QtCore/QVariant> |
51 #include <QtCore/QVector> |
51 #include <QtCore/QVector> |
|
52 #include <QtCore/QCoreApplication> |
52 |
53 |
53 #include <QtXmlPatterns/QXmlFormatter> |
54 #include <QtXmlPatterns/QXmlFormatter> |
54 #include <QtXmlPatterns/QXmlItem> |
55 #include <QtXmlPatterns/QXmlItem> |
55 #include <QtXmlPatterns/QXmlQuery> |
56 #include <QtXmlPatterns/QXmlQuery> |
56 #include <QtXmlPatterns/QXmlSerializer> |
57 #include <QtXmlPatterns/QXmlSerializer> |
57 |
58 |
58 #include "private/qautoptr_p.h" |
59 #include "private/qautoptr_p.h" |
59 #include "qapplicationargument_p.h" |
60 #include "qapplicationargument_p.h" |
60 #include "qapplicationargumentparser_p.h" |
61 #include "qapplicationargumentparser_p.h" |
61 #include "qcoloringmessagehandler_p.h" |
|
62 |
62 |
63 #if defined(Q_OS_WIN) && !defined(Q_OS_WINCE) |
63 #if defined(Q_OS_WIN) && !defined(Q_OS_WINCE) |
64 /* Needed for opening stdout with _fdopen & friends. io.h seems to not be |
64 /* Needed for opening stdout with _fdopen & friends. io.h seems to not be |
65 * needed on MinGW though. */ |
65 * needed on MinGW though. */ |
66 #include <io.h> |
66 #include <io.h> |