You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tqt3/src/kernel/qt_pch.h

58 lines
1.7 KiB

/*
* 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 TQT_NO_STL
# include <ios>
# undef _GLIBCPP_FULLY_COMPLIANT_HEADERS // Makes qlocale.cpp compile
# endif
# endif
#include <ntqmap.h> // I must be first!
#include <private/qucomextra_p.h> // All moc genereated code has this include
#include <ntqapplication.h>
#include <ntqbitmap.h>
#include <ntqcursor.h>
#include <ntqdatetime.h>
#include <ntqglobal.h>
#include <ntqimage.h>
#include <ntqmetaobject.h> // All moc genereated code has this include
#include <ntqobject.h>
#include <ntqpainter.h>
#include <ntqpixmap.h>
#include <qplatformdefs.h>
#include <ntqptrlist.h>
#include <ntqstring.h>
#include <ntqstringlist.h>
#include <ntqstyle.h>
#include <ntqtimer.h>
#include <ntqwidget.h>
#include <limits.h>
#include <stdlib.h>
#if defined(__GNUC__)
# ifndef TQT_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