Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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