summaryrefslogtreecommitdiffstats
path: root/src/kernel/qt_pch.h
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-11-08 12:31:36 -0600
committerTimothy Pearson <[email protected]>2011-11-08 12:31:36 -0600
commitd796c9dd933ab96ec83b9a634feedd5d32e1ba3f (patch)
tree6e3dcca4f77e20ec8966c666aac7c35bd4704053 /src/kernel/qt_pch.h
downloadtqt3-d796c9dd933ab96ec83b9a634feedd5d32e1ba3f.tar.gz
tqt3-d796c9dd933ab96ec83b9a634feedd5d32e1ba3f.zip
Test conversion to TQt3 from Qt3 8c6fc1f8e35fd264dd01c582ca5e7549b32ab731
Diffstat (limited to 'src/kernel/qt_pch.h')
-rw-r--r--src/kernel/qt_pch.h57
1 files changed, 57 insertions, 0 deletions
diff --git a/src/kernel/qt_pch.h b/src/kernel/qt_pch.h
new file mode 100644
index 000000000..566a49087
--- /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 TQt. 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 <limits.h>
+# undef _POSIX_ /* Don't polute */
+#endif
+
+#if defined __cplusplus
+# if defined(__GNUC__)
+# ifndef QT_NO_STL
+# include <ios>
+# undef _GLIBCPP_FULLY_COMPLIANT_HEADERS // Makes qlocale.cpp compile
+# endif
+# endif
+#include <qmap.h> // I must be first!
+#include <private/qucomextra_p.h> // All moc genereated code has this include
+#include <qapplication.h>
+#include <qbitmap.h>
+#include <qcursor.h>
+#include <qdatetime.h>
+#include <qglobal.h>
+#include <qimage.h>
+#include <qmetaobject.h> // All moc genereated code has this include
+#include <qobject.h>
+#include <qpainter.h>
+#include <qpixmap.h>
+#include <qplatformdefs.h>
+#include <qptrlist.h>
+#include <qstring.h>
+#include <qstringlist.h>
+#include <qstyle.h>
+#include <qtimer.h>
+#include <qwidget.h>
+
+#include <limits.h>
+#include <stdlib.h>
+#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 TQt */
+# undef _WINSCARD_H_
+#endif