// Copyright (C) 2016 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only /* * 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 __cplusplus // for rand_s, _CRT_RAND_S must be #defined before #including stdlib.h. // put it at the beginning so some indirect inclusion doesn't break it #ifndef _CRT_RAND_S #define _CRT_RAND_S #endif #include #include #ifdef Q_OS_WIN # ifdef Q_CC_MINGW // must be included before any other header pulls in . # include // Define _POSIX_THREAD_SAFE_FUNCTIONS to obtain localtime_r() # endif # define _POSIX_ # include # undef _POSIX_ # if defined(Q_CC_CLANG) && defined(Q_CC_MSVC) // See https://bugs.llvm.org/show_bug.cgi?id=41226 # include __declspec(selectany) auto *__wmemchr_symbol_loader_value = wmemchr(L"", L'0', 0); # endif # endif # include # include # include # include # include /* All moc generated code has this include */ # include # if QT_CONFIG(regularexpression) # include # endif # include # include # include # include # include #endif