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
qtresource.h
Go to the documentation of this file.
1
// Copyright (C) 2022 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
#
ifndef
QTRESOURCE_H
5
#
define
QTRESOURCE_H
6
7
#
include
<
QtCore
/
qtconfigmacros
.
h
>
8
9
#
if
0
10
#
pragma
qt_class
(
QtResource
)
11
#
pragma
qt_sync_stop_processing
12
#
endif
13
14
#
define
Q_INIT_RESOURCE
(
name
)
15
do
{
extern
int
QT_MANGLE_NAMESPACE
(
qInitResources_
##
name
)
(
)
;
16
QT_MANGLE_NAMESPACE
(
qInitResources_
##
name
)
(
)
;
}
while
(
false
)
17
#
define
Q_CLEANUP_RESOURCE
(
name
)
18
do
{
extern
int
QT_MANGLE_NAMESPACE
(
qCleanupResources_
##
name
)
(
)
;
19
QT_MANGLE_NAMESPACE
(
qCleanupResources_
##
name
)
(
)
;
}
while
(
false
)
20
21
#
endif
// QTRESOURCE_H
qtbase
src
corelib
global
qtresource.h
Generated on
for Qt by
1.14.0