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:
parent
f56c797ef9
commit
5a64696264
@ -42,12 +42,12 @@
|
|||||||
|
|
||||||
#ifndef QT_NO_TEMPORARYFILE
|
#ifndef QT_NO_TEMPORARYFILE
|
||||||
|
|
||||||
|
#include "qdebug.h"
|
||||||
#include "qdiriterator.h"
|
#include "qdiriterator.h"
|
||||||
|
#include "qpair.h"
|
||||||
#include "qplatformdefs.h"
|
#include "qplatformdefs.h"
|
||||||
|
#include "qrandom.h"
|
||||||
#include "private/qtemporaryfile_p.h"
|
#include "private/qtemporaryfile_p.h"
|
||||||
#include <QDebug>
|
|
||||||
#include <QPair>
|
|
||||||
#include <QRandomGenerator>
|
|
||||||
|
|
||||||
#if defined(QT_BUILD_CORE_LIB)
|
#if defined(QT_BUILD_CORE_LIB)
|
||||||
#include "qcoreapplication.h"
|
#include "qcoreapplication.h"
|
||||||
|
@ -41,7 +41,7 @@
|
|||||||
#define QTEMPORARYDIR_H
|
#define QTEMPORARYDIR_H
|
||||||
|
|
||||||
#include <QtCore/qdir.h>
|
#include <QtCore/qdir.h>
|
||||||
#include <QtCore/QScopedPointer>
|
#include <QtCore/qscopedpointer.h>
|
||||||
|
|
||||||
QT_BEGIN_NAMESPACE
|
QT_BEGIN_NAMESPACE
|
||||||
|
|
||||||
|
@ -45,6 +45,7 @@ SOURCES += \
|
|||||||
../../corelib/io/qiodevice.cpp \
|
../../corelib/io/qiodevice.cpp \
|
||||||
../../corelib/io/qfiledevice.cpp \
|
../../corelib/io/qfiledevice.cpp \
|
||||||
../../corelib/io/qresource.cpp \
|
../../corelib/io/qresource.cpp \
|
||||||
|
../../corelib/io/qtemporarydir.cpp \
|
||||||
../../corelib/io/qtemporaryfile.cpp \
|
../../corelib/io/qtemporaryfile.cpp \
|
||||||
../../corelib/io/qtextstream.cpp \
|
../../corelib/io/qtextstream.cpp \
|
||||||
../../corelib/io/qsavefile.cpp \
|
../../corelib/io/qsavefile.cpp \
|
||||||
|
Loading…
Reference in New Issue
Block a user