blob: 3a8f201582ecdbf588d3b6bd1b86f2c8c5cc2b16 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
// Copyright (C) 2021 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
#ifndef PYSIDEINIT_H
#define PYSIDEINIT_H
#include <sbkpython.h>
#include <pysidemacros.h>
namespace PySide
{
PYSIDE_API void init(PyObject *module);
/// Registers a dynamic "qt.conf" file with the Qt resource system.
///
/// This is used in a standalone build, to inform QLibraryInfo of the Qt prefix
/// (where Qt libraries are installed) so that plugins can be successfully loaded.
PYSIDE_API bool registerInternalQtConf();
} //namespace PySide
#endif // PYSIDEINIT_H
|