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// Qt-Security score:significant reason:default
4
5#ifndef QTRESOURCE_H
6#define QTRESOURCE_H
7
8#include <QtCore/qtconfigmacros.h>
9
10#if 0
11#pragma qt_class(QtResource)
12#pragma qt_sync_stop_processing
13#endif
14
15#define Q_INIT_RESOURCE(name)
16 do { extern int QT_MANGLE_NAMESPACE(qInitResources_ ## name) ();
17 QT_MANGLE_NAMESPACE(qInitResources_ ## name) (); } while (false)
18#define Q_CLEANUP_RESOURCE(name)
19 do { extern int QT_MANGLE_NAMESPACE(qCleanupResources_ ## name) ();
20 QT_MANGLE_NAMESPACE(qCleanupResources_ ## name) (); } while (false)
21
22#endif // QTRESOURCE_H