aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/libpyside/pysideqapp.h
blob: 5543d83d8e2c09e5d5a4e0ad6bf9f0a5b496bcb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// 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 PYSIDEQAPP_H
#define PYSIDEQAPP_H

#include <pysidemacros.h>

namespace PySide
{

PYSIDE_API void initQApp();

/// Destroy a QCoreApplication taking care of destroy all instances of QObject first.
PYSIDE_API void destroyQCoreApplication();

} //namespace PySide

#endif // PYSIDEQPP_H