From bd0f3345a938b35ce6a12f6150373b0955b8dd12 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 10 Jul 2011 15:24:15 -0500 Subject: Add Qt3 development HEAD version --- src/kernel/qt_pch.h | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 src/kernel/qt_pch.h (limited to 'src/kernel/qt_pch.h') diff --git a/src/kernel/qt_pch.h b/src/kernel/qt_pch.h new file mode 100644 index 0000000..67c33b0 --- /dev/null +++ b/src/kernel/qt_pch.h @@ -0,0 +1,57 @@ +/* + * This is a precompiled header file for use in Xcode / Mac GCC / + * GCC >= 3.4 / VC to greatly speed the building of Qt. It may also be + * of use to people developing their own project, but it is probably + * better to define your own header. Use of this header is currently + * UNSUPPORTED. + */ + +#if (defined(_WIN32) || defined(__NT__)) +# define QT_UNDEF_MACROS_IN_PCH +# define _WINSCARD_H_ +# define _POSIX_ /* Make sure PATH_MAX et al. are defined */ +# include +# undef _POSIX_ /* Don't polute */ +#endif + +#if defined __cplusplus +# if defined(__GNUC__) +# ifndef QT_NO_STL +# include +# undef _GLIBCPP_FULLY_COMPLIANT_HEADERS // Makes qlocale.cpp compile +# endif +# endif +#include // I must be first! +#include // All moc genereated code has this include +#include +#include +#include +#include +#include +#include +#include // All moc genereated code has this include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include +#if defined(__GNUC__) +# ifndef QT_NO_STL +# define _GLIBCPP_FULLY_COMPLIANT_HEADERS +# endif +#endif +#endif + +#if defined(QT_UNDEF_MACROS_IN_PCH) +# undef max /* These are defined in windef.h, but */ +# undef min /* we don't want them when building Qt */ +# undef _WINSCARD_H_ +#endif -- cgit v1.2.1