Move the EDID parser into QtGui
As a drive by, fix recursive inclusion in qxcbscreen.h. Task-number: QTBUG-83255 Change-Id: Ia008921b559ef450c07aa17ca554c6b35e0a88bd Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
This commit is contained in:
parent
b92a41ea21
commit
acbe4190e9
@ -195,6 +195,8 @@ qt_add_module(Gui
|
|||||||
util/qabstractlayoutstyleinfo.cpp util/qabstractlayoutstyleinfo_p.h
|
util/qabstractlayoutstyleinfo.cpp util/qabstractlayoutstyleinfo_p.h
|
||||||
util/qastchandler.cpp util/qastchandler_p.h
|
util/qastchandler.cpp util/qastchandler_p.h
|
||||||
util/qdesktopservices.cpp util/qdesktopservices.h
|
util/qdesktopservices.cpp util/qdesktopservices.h
|
||||||
|
util/qedidparser.cpp util/qedidparser_p.h
|
||||||
|
util/qedidvendortable_p.h
|
||||||
util/qgridlayoutengine.cpp util/qgridlayoutengine_p.h
|
util/qgridlayoutengine.cpp util/qgridlayoutengine_p.h
|
||||||
util/qhexstring_p.h
|
util/qhexstring_p.h
|
||||||
util/qktxhandler.cpp util/qktxhandler_p.h
|
util/qktxhandler.cpp util/qktxhandler_p.h
|
||||||
|
@ -245,6 +245,8 @@ qt_add_module(Gui
|
|||||||
util/qabstractlayoutstyleinfo.cpp util/qabstractlayoutstyleinfo_p.h
|
util/qabstractlayoutstyleinfo.cpp util/qabstractlayoutstyleinfo_p.h
|
||||||
util/qastchandler.cpp util/qastchandler_p.h
|
util/qastchandler.cpp util/qastchandler_p.h
|
||||||
util/qdesktopservices.cpp util/qdesktopservices.h
|
util/qdesktopservices.cpp util/qdesktopservices.h
|
||||||
|
util/qedidparser.cpp util/qedidparser_p.h
|
||||||
|
util/qedidvendortable_p.h
|
||||||
util/qgridlayoutengine.cpp util/qgridlayoutengine_p.h
|
util/qgridlayoutengine.cpp util/qgridlayoutengine_p.h
|
||||||
util/qhexstring_p.h
|
util/qhexstring_p.h
|
||||||
util/qktxhandler.cpp util/qktxhandler_p.h
|
util/qktxhandler.cpp util/qktxhandler_p.h
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
** Copyright (C) 2017 Pier Luigi Fiorini <pierluigi.fiorini@gmail.com>
|
** Copyright (C) 2017 Pier Luigi Fiorini <pierluigi.fiorini@gmail.com>
|
||||||
** Contact: https://www.qt.io/licensing/
|
** Contact: https://www.qt.io/licensing/
|
||||||
**
|
**
|
||||||
** This file is part of the plugins of the Qt Toolkit.
|
** This file is part of the QtGui module of the Qt Toolkit.
|
||||||
**
|
**
|
||||||
** $QT_BEGIN_LICENSE:LGPL$
|
** $QT_BEGIN_LICENSE:LGPL$
|
||||||
** Commercial License Usage
|
** Commercial License Usage
|
@ -3,7 +3,7 @@
|
|||||||
** Copyright (C) 2017 Pier Luigi Fiorini <pierluigi.fiorini@gmail.com>
|
** Copyright (C) 2017 Pier Luigi Fiorini <pierluigi.fiorini@gmail.com>
|
||||||
** Contact: https://www.qt.io/licensing/
|
** Contact: https://www.qt.io/licensing/
|
||||||
**
|
**
|
||||||
** This file is part of the plugins of the Qt Toolkit.
|
** This file is part of the QtGui module of the Qt Toolkit.
|
||||||
**
|
**
|
||||||
** $QT_BEGIN_LICENSE:LGPL$
|
** $QT_BEGIN_LICENSE:LGPL$
|
||||||
** Commercial License Usage
|
** Commercial License Usage
|
||||||
@ -54,9 +54,13 @@
|
|||||||
// We mean it.
|
// We mean it.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
#include <QtGui/qtguiglobal.h>
|
||||||
|
#include <QtCore/qstring.h>
|
||||||
|
#include <QtCore/qmap.h>
|
||||||
|
|
||||||
QT_BEGIN_NAMESPACE
|
QT_BEGIN_NAMESPACE
|
||||||
|
|
||||||
class QEdidParser
|
class Q_GUI_EXPORT QEdidParser
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
QEdidParser();
|
QEdidParser();
|
@ -3,7 +3,7 @@
|
|||||||
** Copyright (C) 2017 Pier Luigi Fiorini <pierluigi.fiorini@gmail.com>
|
** Copyright (C) 2017 Pier Luigi Fiorini <pierluigi.fiorini@gmail.com>
|
||||||
** Contact: https://www.qt.io/licensing/
|
** Contact: https://www.qt.io/licensing/
|
||||||
**
|
**
|
||||||
** This file is part of the plugins of the Qt Toolkit.
|
** This file is part of the QtGui module of the Qt Toolkit.
|
||||||
**
|
**
|
||||||
** $QT_BEGIN_LICENSE:LGPL$
|
** $QT_BEGIN_LICENSE:LGPL$
|
||||||
** Commercial License Usage
|
** Commercial License Usage
|
@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
HEADERS += \
|
HEADERS += \
|
||||||
util/qdesktopservices.h \
|
util/qdesktopservices.h \
|
||||||
|
util/qedidparser_p.h \
|
||||||
|
util/qedidvendortable_p.h \
|
||||||
util/qhexstring_p.h \
|
util/qhexstring_p.h \
|
||||||
util/qvalidator.h \
|
util/qvalidator.h \
|
||||||
util/qgridlayoutengine_p.h \
|
util/qgridlayoutengine_p.h \
|
||||||
@ -23,6 +25,7 @@ HEADERS += \
|
|||||||
|
|
||||||
SOURCES += \
|
SOURCES += \
|
||||||
util/qdesktopservices.cpp \
|
util/qdesktopservices.cpp \
|
||||||
|
util/qedidparser.cpp \
|
||||||
util/qvalidator.cpp \
|
util/qvalidator.cpp \
|
||||||
util/qgridlayoutengine.cpp \
|
util/qgridlayoutengine.cpp \
|
||||||
util/qabstractlayoutstyleinfo.cpp \
|
util/qabstractlayoutstyleinfo.cpp \
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
# Generated from platformsupport.pro.
|
# Generated from platformsupport.pro.
|
||||||
|
|
||||||
add_subdirectory(edid)
|
|
||||||
add_subdirectory(devicediscovery)
|
add_subdirectory(devicediscovery)
|
||||||
add_subdirectory(fbconvenience)
|
add_subdirectory(fbconvenience)
|
||||||
add_subdirectory(linuxofono)
|
add_subdirectory(linuxofono)
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
# Generated from platformsupport.pro.
|
# Generated from platformsupport.pro.
|
||||||
|
|
||||||
add_subdirectory(edid)
|
|
||||||
add_subdirectory(devicediscovery)
|
add_subdirectory(devicediscovery)
|
||||||
add_subdirectory(fbconvenience)
|
add_subdirectory(fbconvenience)
|
||||||
# special case begin
|
# special case begin
|
||||||
|
@ -1,21 +0,0 @@
|
|||||||
# Generated from edid.pro.
|
|
||||||
|
|
||||||
#####################################################################
|
|
||||||
## EdidSupport Module:
|
|
||||||
#####################################################################
|
|
||||||
|
|
||||||
qt_add_module(EdidSupport
|
|
||||||
STATIC
|
|
||||||
INTERNAL_MODULE
|
|
||||||
SOURCES
|
|
||||||
qedidparser.cpp qedidparser_p.h
|
|
||||||
DEFINES
|
|
||||||
QT_NO_CAST_FROM_ASCII
|
|
||||||
PUBLIC_LIBRARIES
|
|
||||||
Qt::CorePrivate
|
|
||||||
PRECOMPILED_HEADER
|
|
||||||
"../../corelib/global/qt_pch.h"
|
|
||||||
)
|
|
||||||
|
|
||||||
#### Keys ignored in scope 1:.:.:edid.pro:<TRUE>:
|
|
||||||
# MODULE = "edid_support"
|
|
@ -1,13 +0,0 @@
|
|||||||
TARGET = QtEdidSupport
|
|
||||||
MODULE = edid_support
|
|
||||||
|
|
||||||
QT = core-private
|
|
||||||
CONFIG += static internal_module
|
|
||||||
|
|
||||||
DEFINES += QT_NO_CAST_FROM_ASCII
|
|
||||||
PRECOMPILED_HEADER = ../../corelib/global/qt_pch.h
|
|
||||||
|
|
||||||
HEADERS += qedidparser_p.h
|
|
||||||
SOURCES += qedidparser.cpp
|
|
||||||
|
|
||||||
load(qt_module)
|
|
@ -2,7 +2,6 @@ TEMPLATE = subdirs
|
|||||||
QT_FOR_CONFIG += gui-private
|
QT_FOR_CONFIG += gui-private
|
||||||
|
|
||||||
SUBDIRS = \
|
SUBDIRS = \
|
||||||
edid \
|
|
||||||
devicediscovery \
|
devicediscovery \
|
||||||
fbconvenience
|
fbconvenience
|
||||||
|
|
||||||
|
@ -23,7 +23,6 @@ qt_internal_add_plugin(QEglFSKmsGbmIntegrationPlugin
|
|||||||
Libdrm::Libdrm
|
Libdrm::Libdrm
|
||||||
Qt::Core
|
Qt::Core
|
||||||
Qt::CorePrivate
|
Qt::CorePrivate
|
||||||
Qt::EdidSupportPrivate
|
|
||||||
Qt::EglFSDeviceIntegrationPrivate
|
Qt::EglFSDeviceIntegrationPrivate
|
||||||
Qt::EglFsKmsSupportPrivate
|
Qt::EglFsKmsSupportPrivate
|
||||||
Qt::Gui
|
Qt::Gui
|
||||||
|
@ -4,7 +4,7 @@ PLUGIN_TYPE = egldeviceintegrations
|
|||||||
PLUGIN_CLASS_NAME = QEglFSKmsGbmIntegrationPlugin
|
PLUGIN_CLASS_NAME = QEglFSKmsGbmIntegrationPlugin
|
||||||
load(qt_plugin)
|
load(qt_plugin)
|
||||||
|
|
||||||
QT += core-private gui-private eglfsdeviceintegration-private eglfs_kms_support-private kms_support-private edid_support-private
|
QT += core-private gui-private eglfsdeviceintegration-private eglfs_kms_support-private kms_support-private
|
||||||
|
|
||||||
INCLUDEPATH += $$PWD/../../api $$PWD/../eglfs_kms_support
|
INCLUDEPATH += $$PWD/../../api $$PWD/../eglfs_kms_support
|
||||||
|
|
||||||
|
@ -21,7 +21,6 @@ qt_internal_add_plugin(QEglFSKmsEglDeviceIntegrationPlugin
|
|||||||
Libdrm::Libdrm
|
Libdrm::Libdrm
|
||||||
Qt::Core
|
Qt::Core
|
||||||
Qt::CorePrivate
|
Qt::CorePrivate
|
||||||
Qt::EdidSupportPrivate
|
|
||||||
Qt::EglFSDeviceIntegrationPrivate
|
Qt::EglFSDeviceIntegrationPrivate
|
||||||
Qt::EglFsKmsSupportPrivate
|
Qt::EglFsKmsSupportPrivate
|
||||||
Qt::Gui
|
Qt::Gui
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
TARGET = qeglfs-kms-egldevice-integration
|
TARGET = qeglfs-kms-egldevice-integration
|
||||||
|
|
||||||
QT += core-private gui-private eglfsdeviceintegration-private eglfs_kms_support-private kms_support-private edid_support-private
|
QT += core-private gui-private eglfsdeviceintegration-private eglfs_kms_support-private kms_support-private
|
||||||
|
|
||||||
INCLUDEPATH += $$PWD/../../api $$PWD/../eglfs_kms_support
|
INCLUDEPATH += $$PWD/../../api $$PWD/../eglfs_kms_support
|
||||||
|
|
||||||
|
@ -21,7 +21,6 @@ qt_add_module(EglFsKmsSupport
|
|||||||
Libdrm::Libdrm
|
Libdrm::Libdrm
|
||||||
Qt::Core
|
Qt::Core
|
||||||
Qt::CorePrivate
|
Qt::CorePrivate
|
||||||
Qt::EdidSupportPrivate
|
|
||||||
Qt::EglFSDeviceIntegrationPrivate
|
Qt::EglFSDeviceIntegrationPrivate
|
||||||
Qt::Gui
|
Qt::Gui
|
||||||
Qt::GuiPrivate
|
Qt::GuiPrivate
|
||||||
|
@ -2,7 +2,7 @@ TARGET = QtEglFsKmsSupport
|
|||||||
CONFIG += no_module_headers internal_module
|
CONFIG += no_module_headers internal_module
|
||||||
load(qt_module)
|
load(qt_module)
|
||||||
|
|
||||||
QT += core-private gui-private eglfsdeviceintegration-private kms_support-private edid_support-private
|
QT += core-private gui-private eglfsdeviceintegration-private kms_support-private
|
||||||
|
|
||||||
INCLUDEPATH += $$PWD/../../api
|
INCLUDEPATH += $$PWD/../../api
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@
|
|||||||
#include <QtCore/QMutex>
|
#include <QtCore/QMutex>
|
||||||
|
|
||||||
#include <QtKmsSupport/private/qkmsdevice_p.h>
|
#include <QtKmsSupport/private/qkmsdevice_p.h>
|
||||||
#include <QtEdidSupport/private/qedidparser_p.h>
|
#include <QtGui/private/qedidparser_p.h>
|
||||||
|
|
||||||
QT_BEGIN_NAMESPACE
|
QT_BEGIN_NAMESPACE
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@ PLUGIN_TYPE = egldeviceintegrations
|
|||||||
PLUGIN_CLASS_NAME = QEglFSKmsVsp2IntegrationPlugin
|
PLUGIN_CLASS_NAME = QEglFSKmsVsp2IntegrationPlugin
|
||||||
load(qt_plugin)
|
load(qt_plugin)
|
||||||
|
|
||||||
QT += core-private gui-private eglfsdeviceintegration-private eglfs_kms_support-private kms_support-private edid_support-private
|
QT += core-private gui-private eglfsdeviceintegration-private eglfs_kms_support-private kms_support-private
|
||||||
|
|
||||||
INCLUDEPATH += $$PWD/../../api $$PWD/../eglfs_kms_support
|
INCLUDEPATH += $$PWD/../../api $$PWD/../eglfs_kms_support
|
||||||
|
|
||||||
|
@ -41,7 +41,6 @@ qt_add_module(XcbQpa
|
|||||||
PUBLIC_LIBRARIES
|
PUBLIC_LIBRARIES
|
||||||
PkgConfig::XKB_COMMON_X11
|
PkgConfig::XKB_COMMON_X11
|
||||||
Qt::CorePrivate
|
Qt::CorePrivate
|
||||||
Qt::EdidSupportPrivate
|
|
||||||
Qt::GuiPrivate
|
Qt::GuiPrivate
|
||||||
Qt::XkbCommonSupportPrivate
|
Qt::XkbCommonSupportPrivate
|
||||||
XCB::ICCCM
|
XCB::ICCCM
|
||||||
|
@ -41,7 +41,6 @@ qt_add_module(XcbQpa
|
|||||||
PUBLIC_LIBRARIES
|
PUBLIC_LIBRARIES
|
||||||
PkgConfig::XKB_COMMON_X11
|
PkgConfig::XKB_COMMON_X11
|
||||||
Qt::CorePrivate
|
Qt::CorePrivate
|
||||||
Qt::EdidSupportPrivate
|
|
||||||
Qt::GuiPrivate
|
Qt::GuiPrivate
|
||||||
Qt::XkbCommonSupportPrivate
|
Qt::XkbCommonSupportPrivate
|
||||||
XCB::ICCCM
|
XCB::ICCCM
|
||||||
|
@ -49,11 +49,10 @@
|
|||||||
#include <xcb/xinerama.h>
|
#include <xcb/xinerama.h>
|
||||||
|
|
||||||
#include "qxcbobject.h"
|
#include "qxcbobject.h"
|
||||||
#include "qxcbscreen.h"
|
|
||||||
|
|
||||||
#include <private/qfontengine_p.h>
|
#include <private/qfontengine_p.h>
|
||||||
|
|
||||||
#include <QtEdidSupport/private/qedidparser_p.h>
|
#include <QtGui/private/qedidparser_p.h>
|
||||||
|
|
||||||
QT_BEGIN_NAMESPACE
|
QT_BEGIN_NAMESPACE
|
||||||
|
|
||||||
|
@ -4,7 +4,6 @@ DEFINES += QT_NO_FOREACH
|
|||||||
|
|
||||||
QT += \
|
QT += \
|
||||||
core-private gui-private \
|
core-private gui-private \
|
||||||
edid_support-private \
|
|
||||||
xkbcommon_support-private
|
xkbcommon_support-private
|
||||||
|
|
||||||
qtConfig(opengl): QT += opengl-private
|
qtConfig(opengl): QT += opengl-private
|
||||||
|
Loading…
x
Reference in New Issue
Block a user