summaryrefslogtreecommitdiffstats
path: root/tqtinterface/qt4/src/kernel/tqt_pch.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-07-10 15:17:53 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-07-10 15:17:53 -0500
commitdda8474928bd7276e1fad8fb7a601e7c83ff2bc2 (patch)
tree7f83910598b33b12730035f086df20b5a53ab99c /tqtinterface/qt4/src/kernel/tqt_pch.h
parent6260b6178868c03aab1644bf93b0ef043654bdb0 (diff)
downloadexperimental-dda8474928bd7276e1fad8fb7a601e7c83ff2bc2.tar.gz
experimental-dda8474928bd7276e1fad8fb7a601e7c83ff2bc2.zip
Added TQt4 HEAD
Diffstat (limited to 'tqtinterface/qt4/src/kernel/tqt_pch.h')
-rw-r--r--tqtinterface/qt4/src/kernel/tqt_pch.h57
1 files changed, 57 insertions, 0 deletions
diff --git a/tqtinterface/qt4/src/kernel/tqt_pch.h b/tqtinterface/qt4/src/kernel/tqt_pch.h
new file mode 100644
index 0000000..6693c8d
--- /dev/null
+++ b/tqtinterface/qt4/src/kernel/tqt_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 TQT_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 TQT_NO_STL
+# include <ios>
+# undef _GLIBCPP_FULLY_COMPLIANT_HEADERS // Makes qlocale.cpp compile
+# endif
+# endif
+#include <tqmap.h> // I must be first!
+#include <private/tqucomextra_p.h> // All tqmoc genereated code has this include
+#include <tqapplication.h>
+#include <tqbitmap.h>
+#include <tqcursor.h>
+#include <tqdatetime.h>
+#include <tqglobal.h>
+#include <tqimage.h>
+#include <tqmetaobject.h> // All tqmoc genereated code has this include
+#include <tqobject.h>
+#include <tqpainter.h>
+#include <tqpixmap.h>
+#include <tqplatformdefs.h>
+#include <tqptrlist.h>
+#include <tqstring.h>
+#include <tqstringlist.h>
+#include <tqstyle.h>
+#include <tqtimer.h>
+#include <tqwidget.h>
+
+#include <limits.h>
+#include <stdlib.h>
+#if defined(__GNUC__)
+# ifndef TQT_NO_STL
+# define _GLIBCPP_FULLY_COMPLIANT_HEADERS
+# endif
+#endif
+#endif
+
+#if defined(TQT_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