Add QTemporaryDir to the bootstrap library

clang-qdoc must be compilable using the bootstrap library,
but clang-qdoc uses QTemporaryDir, which is not there. This
change adds it.

This also required changing some camelcase includes to their
lower case equivalents.

Change-Id: I8d03864f56e4bf474c3fdcde5e744ed31fea7fc3
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io>
This commit is contained in:
Martin Smith 2017-09-08 14:51:59 +02:00 committed by Jędrzej Nowacki
parent f56c797ef9
commit 5a64696264
3 changed files with 5 additions and 4 deletions

View File

@ -42,12 +42,12 @@
#ifndef QT_NO_TEMPORARYFILE
#include "qdebug.h"
#include "qdiriterator.h"
#include "qpair.h"
#include "qplatformdefs.h"
#include "qrandom.h"
#include "private/qtemporaryfile_p.h"
#include <QDebug>
#include <QPair>
#include <QRandomGenerator>
#if defined(QT_BUILD_CORE_LIB)
#include "qcoreapplication.h"

View File

@ -41,7 +41,7 @@
#define QTEMPORARYDIR_H
#include <QtCore/qdir.h>
#include <QtCore/QScopedPointer>
#include <QtCore/qscopedpointer.h>
QT_BEGIN_NAMESPACE

View File

@ -45,6 +45,7 @@ SOURCES += \
../../corelib/io/qiodevice.cpp \
../../corelib/io/qfiledevice.cpp \
../../corelib/io/qresource.cpp \
../../corelib/io/qtemporarydir.cpp \
../../corelib/io/qtemporaryfile.cpp \
../../corelib/io/qtextstream.cpp \
../../corelib/io/qsavefile.cpp \