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
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
// Qt-Security score:significant reason:default
4
5
#
include
"qgenericunixeventdispatcher_p.h"
6
#
include
"qunixeventdispatcher_qpa_p.h"
7
#
if
QT_CONFIG
(
glib
)
8
#
include
"qeventdispatcher_glib_p.h"
9
#
endif
10
QT_BEGIN_NAMESPACE
11
12
class
QAbstractEventDispatcher *
QtGenericUnixDispatcher
::createUnixEventDispatcher()
13
{
14
#
if
!
defined
(
QT_NO_GLIB
)
&&
!
defined
(
Q_OS_WIN
)
15
if
(qEnvironmentVariableIsEmpty(
"QT_NO_GLIB"
) && QEventDispatcherGlib::versionSupported())
16
return
new
QPAEventDispatcherGlib();
17
else
18
#
endif
19
return
new
QUnixEventDispatcherQPA();
20
}
21
22
QT_END_NAMESPACE
QPlatformGraphicsBufferHelper
\inmodule QtGui
QtGenericUnixDispatcher
Definition
qgenericunixeventdispatcher_p.h:25
qtbase
src
gui
platform
unix
qgenericunixeventdispatcher.cpp
Generated on
for Qt by
1.14.0