diff options
-rw-r--r-- | src/libs/3rdparty/botan/src/src.pro | 2 | ||||
-rw-r--r-- | src/libs/3rdparty/precompiled_headers/botan_pch.h | 73 | ||||
-rw-r--r-- | src/qtcreatorlibrary.pri | 3 | ||||
-rw-r--r-- | src/qtcreatorplugin.pri | 3 | ||||
-rw-r--r-- | src/shared/qtcreator_gui_pch.h | 52 | ||||
-rw-r--r-- | src/shared/qtcreator_pch.h | 58 |
6 files changed, 191 insertions, 0 deletions
diff --git a/src/libs/3rdparty/botan/src/src.pro b/src/libs/3rdparty/botan/src/src.pro index 37b9f01df9c..24b3c982e0c 100644 --- a/src/libs/3rdparty/botan/src/src.pro +++ b/src/libs/3rdparty/botan/src/src.pro @@ -3,6 +3,8 @@ TARGET = Botan CONFIG += dll +PRECOMPILED_HEADER = ../../precompiled_headers/botan_pch.h + include(../../../../qtcreatorlibrary.pri) DEPENDPATH += . diff --git a/src/libs/3rdparty/precompiled_headers/botan_pch.h b/src/libs/3rdparty/precompiled_headers/botan_pch.h new file mode 100644 index 00000000000..f0a3ccf4063 --- /dev/null +++ b/src/libs/3rdparty/precompiled_headers/botan_pch.h @@ -0,0 +1,73 @@ +/************************************************************************** +** +** This file is part of Qt Creator +** +** Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). +** +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** Commercial Usage +** +** Licensees holding valid Qt Commercial licenses may use this file in +** accordance with the Qt Commercial License Agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and Nokia. +** +** GNU Lesser General Public License Usage +** +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 2.1 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 2.1 requirements +** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +** +** If you are unsure which license is appropriate for your use, please +** contact the sales department at http://qt.nokia.com/contact. +** +**************************************************************************/ + +#if defined __cplusplus +#include <QtCore/QtGlobal> + +#ifdef Q_WS_WIN +# define _POSIX_ +# include <limits.h> +# undef _POSIX_ +#endif + +#include <botan/stream_cipher.h> +#include <botan/pubkey_enums.h> +#include <botan/filters.h> +#include <botan/libstate.h> +#include <botan/pubkey.h> +#include <botan/rotate.h> +#include <botan/util.h> +#include <botan/xor_buf.h> +#include <botan/look_pk.h> +#include <botan/mac.h> +#include <botan/secmem.h> +#include <botan/pipe.h> +#include <botan/oids.h> +#include <botan/exceptn.h> +#include <botan/der_enc.h> +#include <botan/ber_dec.h> +#include <botan/types.h> +#include <botan/rng.h> +#include <botan/numthry.h> +#include <botan/bigint.h> +#include <botan/botan.h> +#include <botan/hash.h> +#include <botan/loadstor.h> +#include <botan/parsing.h> +#include <botan/block_cipher.h> + +#include <map> +#include <fstream> +#include <memory> +#include <algorithm> +#include <iostream> +#include <vector> +#include <string> + +#endif diff --git a/src/qtcreatorlibrary.pri b/src/qtcreatorlibrary.pri index a1663e5b4c9..35f2af4f24a 100644 --- a/src/qtcreatorlibrary.pri +++ b/src/qtcreatorlibrary.pri @@ -1,5 +1,8 @@ include(../qtcreator.pri) +# use precompiled header for libraries by default +isEmpty(PRECOMPILED_HEADER):PRECOMPILED_HEADER = $$PWD/shared/qtcreator_pch.h + win32 { DLLDESTDIR = $$IDE_APP_PATH } diff --git a/src/qtcreatorplugin.pri b/src/qtcreatorplugin.pri index 76a068687a8..f18f4f5b9ca 100644 --- a/src/qtcreatorplugin.pri +++ b/src/qtcreatorplugin.pri @@ -1,5 +1,8 @@ include(../qtcreator.pri) +# use gui precompiled header for plugins by default +isEmpty(PRECOMPILED_HEADER):PRECOMPILED_HEADER = $$PWD/shared/qtcreator_gui_pch.h + isEmpty(PROVIDER) { PROVIDER = Nokia } diff --git a/src/shared/qtcreator_gui_pch.h b/src/shared/qtcreator_gui_pch.h new file mode 100644 index 00000000000..333265c6ed1 --- /dev/null +++ b/src/shared/qtcreator_gui_pch.h @@ -0,0 +1,52 @@ +/************************************************************************** +** +** This file is part of Qt Creator +** +** Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). +** +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** Commercial Usage +** +** Licensees holding valid Qt Commercial licenses may use this file in +** accordance with the Qt Commercial License Agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and Nokia. +** +** GNU Lesser General Public License Usage +** +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 2.1 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 2.1 requirements +** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +** +** If you are unsure which license is appropriate for your use, please +** contact the sales department at http://qt.nokia.com/contact. +** +**************************************************************************/ + +/* + * This is a precompiled header file for use in Xcode / Mac GCC / + * GCC >= 3.4 / VC to greatly speed the building of Qt Creator. + */ + +#include "qtcreator_pch.h" + +#if defined __cplusplus + +#include <QtCore/QEvent> +#include <QtCore/QTimer> +#include <QtGui/QApplication> +#include <QtGui/QBitmap> +#include <QtGui/QCursor> +#include <QtGui/QDesktopWidget> +#include <QtGui/QImage> +#include <QtGui/QLayout> +#include <QtGui/QPainter> +#include <QtGui/QPixmap> +#include <QtGui/QStyle> +#include <QtGui/QWidget> + +#endif diff --git a/src/shared/qtcreator_pch.h b/src/shared/qtcreator_pch.h new file mode 100644 index 00000000000..60f9c49ace2 --- /dev/null +++ b/src/shared/qtcreator_pch.h @@ -0,0 +1,58 @@ +/************************************************************************** +** +** This file is part of Qt Creator +** +** Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). +** +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** Commercial Usage +** +** Licensees holding valid Qt Commercial licenses may use this file in +** accordance with the Qt Commercial License Agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and Nokia. +** +** GNU Lesser General Public License Usage +** +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 2.1 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 2.1 requirements +** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +** +** If you are unsure which license is appropriate for your use, please +** contact the sales department at http://qt.nokia.com/contact. +** +**************************************************************************/ + +/* + * This is a precompiled header file for use in Xcode / Mac GCC / + * GCC >= 3.4 / VC to greatly speed the building of Qt Creator. + */ + +#if defined __cplusplus +#include <QtCore/QtGlobal> + +#ifdef Q_WS_WIN +# define _POSIX_ +# include <limits.h> +# undef _POSIX_ +#endif + +#include <QtCore/QCoreApplication> +#include <QtCore/QList> +#include <QtCore/QVariant> +#include <QtCore/QObject> +#include <QtCore/QRegExp> +#include <QtCore/QString> +#include <QtCore/QStringList> +#include <QtCore/QTextCodec> +#include <QtCore/QPointer> +#include <QtCore/QScopedPointer> +#include <QtCore/QSharedPointer> +#include <QtCore/QDebug> + +#include <stdlib.h> +#endif |