1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165
|
# Copyright (C) 2022 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
from __future__ import annotations
modules_to_test = {
# 6.0
'QtCore': 'qtcore-module.html',
'QtGui': 'qtgui-module.html',
'QtNetwork': 'qtnetwork-module.html',
'QtQml': 'qtqml-module.html',
'QtQuick': 'qtquick-module.html',
'QtQuickWidgets': 'qtquickwidgets-module.html',
# Broken in 6.5.0
#'QtQuickControls2': 'qtquickcontrols-module.html',
'QtQuickControls2': 'qtquickcontrols2-module.html',
'QtSql': 'qtsql-module.html',
'QtWidgets': 'qtwidgets-module.html',
'QtConcurrent': 'qtconcurrent-module.html',
'QtDBus': 'qtdbus-module.html',
'QtHelp': 'qthelp-module.html',
'QtOpenGL': 'qtopengl-module.html',
'QtPrintSupport': 'qtprintsupport-module.html',
'QtSvg': 'qtsvg-module.html',
'QtSvgWidgets': 'qtsvgwidgets-module.html',
'QtUiTools': 'qtuitools-module.html',
'QtXml': 'qtxml-module.html',
'QtQuickTest': 'qtquicktest-module.html',
'QtTest': 'qttest-module.html',
# Deprecated in 6.8
#'Qt3DCore': 'qt3dcore-module.html',
#'Qt3DInput': 'qt3dinput-module.html',
#'Qt3DLogic': 'qt3dlogic-module.html',
#'Qt3DRender': 'qt3drender-module.html',
#'Qt3DAnimation': 'qt3danimation-module.html',
#'Qt3DExtras': 'qt3dextras-module.html',
'QtNetworkAuth': 'qtnetworkauth-module.html',
'QtStateMachine': 'qtstatemachine-module.html',
'QtCoap': 'qtcoap-module.html',
'QtMqtt': 'qtmqtt-module.html',
'QtOpcUa': 'qtopcua-module.html',
'QtVirtualKeyboard': 'qtvirtualkeyboard-module.html',
'QtWaylandCompositor': 'qtwaylandcompositor-module.html',
'QtWebView': 'qtwebview-module.html',
# 6.1
'QtScxml': 'qtscxml-module.html',
# 6.2
'QtBluetooth': 'qtbluetooth-module.html',
'QtPositioning': 'qtpositioning-module.html',
'QtMultimedia': 'qtmultimedia-module.html',
'QtRemoteObjects': 'qtremoteobjects-module.html',
'QtSensors': 'qtsensors-module.html',
'QtSerialPort': 'qtserialport-module.html',
'QtWebChannel': 'qtwebchannel-module.html',
'QtWebEngineCore': 'qtwebenginecore-module.html',
'QtWebEngineQuick': 'qtwebenginequick-module.html',
'QtWebEngineWidgets': 'qtwebenginewidgets-module.html',
'QtWebSockets': 'qtwebsockets-module.html',
'QtHttpServer': 'qthttpserver-module.html',
# 6.3
#'QtSpeech': 'qtspeech-module.html',
'QtMultimediaWidgets': 'qtmultimediawidgets-module.html',
'QtNfc': 'qtnfc-module.html',
'QtQuick3D': 'qtquick3d-module.html',
# 6.4
'QtPdf': 'qtpdf-module.html', # this include qtpdfwidgets
'QtSpatialAudio': 'qtspatialaudio-module.html',
# 6.5
'QtSerialBus': 'qtserialbus-module.html',
'QtTextToSpeech': 'qttexttospeech-module.html',
'QtLocation': 'qtlocation-module.html',
'QtGRPC': 'qtgrpc-module.html',
'QtPhotobuf': 'qtprotobuf-module.html',
# 6.6
'QtGraphs': 'qtgraphs-module.html',
# 6.7
'QtCharts': 'qtcharts-module-qtcharts.html',
'QtDataVisualization': 'qtdatavisualization-module-qtdatavis.html',
}
types_to_ignore = {
# QtCore
'QFlag',
'QFlags',
'QGlobalStatic',
'QDebug',
'QDebugStateSaver',
'QMetaObject.Connection',
'QPointer',
'QAssociativeIterable',
'QSequentialIterable',
'QStaticPlugin',
'QChar',
'QLatin1Char',
'QHash',
'QMultiHash',
'QLinkedList',
'QList',
'QMap',
'QMultiMap',
'QMap.key_iterator',
'QPair',
'QQueue',
'QScopedArrayPointer',
'QScopedPointer',
'QScopedValueRollback',
'QMutableSetIterator',
'QSet',
'QSet.const_iterator',
'QSet.iterator',
'QExplicitlySharedDataPointer',
'QSharedData',
'QSharedDataPointer',
'QEnableSharedFromThis',
'QSharedPointer',
'QWeakPointer',
'QStack',
'QLatin1String',
'QString',
'QStringRef',
'QStringList',
'QStringMatcher',
'QVarLengthArray',
'QVector',
'QFutureIterator',
'QHashIterator',
'QMutableHashIterator',
'QLinkedListIterator',
'QMutableLinkedListIterator',
'QListIterator',
'QMutableListIterator',
'QMapIterator',
'QMutableMapIterator',
'QSetIterator',
'QMutableVectorIterator',
'QVectorIterator',
# QtGui
'QIconEnginePlugin',
'QImageIOPlugin',
'QGenericPlugin',
'QGenericPluginFactory',
'QGenericMatrix',
'QOpenGLExtraFunctions',
# QtWidgets
'QItemEditorCreator',
'QStandardItemEditorCreator',
'QStylePlugin',
# QtSql
'QSqlDriverCreator',
'QSqlDriverPlugin',
}
# Split modules on PySide
split_modules = {
'QtSvg': 'QtSvgWidgets',
'QtPdf': 'QtPdfWidgets',
'QtOpenGL': 'QtOpenGLWidgets',
'QtGraphs': 'QtGraphsWidgets',
}
|