Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qt_pch.h
Go to the documentation of this file.
1
// Copyright (C) 2016 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4
/*
5
* This is a precompiled header file for use in Xcode / Mac GCC /
6
* GCC >= 3.4 / VC to greatly speed the building of Qt. It may also be
7
* of use to people developing their own project, but it is probably
8
* better to define your own header. Use of this header is currently
9
* UNSUPPORTED.
10
*/
11
12
13
#
if
defined
__cplusplus
14
// for rand_s, _CRT_RAND_S must be #defined before #including stdlib.h.
15
// put it at the beginning so some indirect inclusion doesn't break it
16
#
ifndef
_CRT_RAND_S
17
#
define
_CRT_RAND_S
18
#
endif
19
#
include
<
stdlib
.
h
>
20
#
include
<
qglobal
.
h
>
21
#
ifdef
Q_OS_WIN
22
#
ifdef
Q_CC_MINGW
23
// <unistd.h> must be included before any other header pulls in <time.h>.
24
#
include
<
unistd
.
h
>
// Define _POSIX_THREAD_SAFE_FUNCTIONS to obtain localtime_r()
25
#
endif
// Q_CC_MINGW
26
#
define
_POSIX_
27
#
include
<
limits
.
h
>
28
#
undef
_POSIX_
29
#
endif
// Q_OS_WIN
30
#
include
<
qcoreapplication
.
h
>
31
#
include
<
qcoreevent
.
h
>
32
#
include
<
qiodevice
.
h
>
33
#
include
<
qlist
.
h
>
34
#
include
<
qvariant
.
h
>
/* All moc generated code has this include */
35
#
include
<
qobject
.
h
>
36
#
if
QT_CONFIG
(
regularexpression
)
37
#
include
<
qregularexpression
.
h
>
38
#
endif
39
#
include
<
qscopedpointer
.
h
>
40
#
include
<
qshareddata
.
h
>
41
#
include
<
qstring
.
h
>
42
#
include
<
qstringlist
.
h
>
43
#
include
<
qtimer
.
h
>
44
#
endif
qtbase
src
corelib
global
qt_pch.h
Generated on
for Qt by
1.14.0