Qt 6.x
The Qt SDK
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
qgenericunixeventdispatcher.cpp
Go to the documentation of this file.
1// Copyright (C) 2016 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
6#if QT_CONFIG(glib)
7# include "qeventdispatcher_glib_p.h"
8#endif
10
12{
13#if !defined(QT_NO_GLIB) && !defined(Q_OS_WIN)
15 return new QPAEventDispatcherGlib();
16 else
17#endif
18 return new QUnixEventDispatcherQPA();
19}
20
Combined button and popup list for selecting options.
Q_GUI_EXPORT QAbstractEventDispatcher * createUnixEventDispatcher()
Q_CORE_EXPORT bool qEnvironmentVariableIsEmpty(const char *varName) noexcept