aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEce Cinucen <ece.cinucen@qt.io>2024-11-21 16:06:41 +0100
committerEce Cinucen <ece.cinucen@qt.io>2024-11-25 15:07:58 +0100
commit97a49cfb4acf532e35bfc647e6579f74b8e17c15 (patch)
tree761663eea58817f47548e5f5c23ca4ef23a2c8ea
parent4274aaed897e713fc628e4dcec93ac6a5f704af0 (diff)
Tool: Update Missing Bindings
Missing bindings tool adapted to 6.8 Pick to: 6.8 Change-Id: I688d3cb8a4c81e93e1feeed6a2d8d08754e8a37e Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
-rw-r--r--tools/missing_bindings/config.py52
-rw-r--r--tools/missing_bindings/main.py8
2 files changed, 32 insertions, 28 deletions
diff --git a/tools/missing_bindings/config.py b/tools/missing_bindings/config.py
index 66d843821..00224cf44 100644
--- a/tools/missing_bindings/config.py
+++ b/tools/missing_bindings/config.py
@@ -24,52 +24,56 @@ modules_to_test = {
'QtUiTools': 'qtuitools-module.html',
'QtXml': 'qtxml-module.html',
'QtTest': 'qttest-module.html',
- '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',
+ # 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' -- TODO
# 'QtMqtt' -- TODO
# 'QtOpcUA' -- TODO
# 6.1
- 'QtScxml': 'qtscxml-module.html',
- 'QtCharts': 'qtcharts-module.html',
- 'QtDataVisualization': 'qtdatavisualization-module.html',
+ 'QtScxml': 'qtscxml-module.html',
+ # Deprecated in 6.7
+ #'QtCharts': 'qtcharts-module.html',
+ #'QtDataVisualization': 'qtdatavisualization-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',
+ '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',
+ 'QtMultimediaWidgets': 'qtmultimediawidgets-module.html',
'QtNfc': 'qtnfc-module.html',
'QtQuick3D': 'qtquick3d-module.html',
# 6.4
- 'QtPdf': 'qtpdf-module.html', # this include qtpdfwidgets
+ 'QtPdf': 'qtpdf-module.html', # this include qtpdfwidgets
'QtSpatialAudio': 'qtspatialaudio-module.html',
# 6.5
- 'QtSerialBus': 'qtserialbus-module.html',
+ 'QtSerialBus': 'qtserialbus-module.html',
'QtTextToSpeech': 'qttexttospeech-module.html',
- 'QtLocation': 'qtlocation-module.html',
+ 'QtLocation': 'qtlocation-module.html',
+ # 6.6
+ 'QtGraphs': 'qtgraphs-module.html',
}
types_to_ignore = {
diff --git a/tools/missing_bindings/main.py b/tools/missing_bindings/main.py
index fe637809e..05105cb90 100644
--- a/tools/missing_bindings/main.py
+++ b/tools/missing_bindings/main.py
@@ -31,7 +31,7 @@ import pandas as pd
import matplotlib.pyplot as plt
qt_documentation_website_prefixes = {
- "6.5": "https://doc.qt.io/qt-6/",
+ "6.8": "https://doc.qt.io/qt-6/",
"dev": "https://doc-snapshots.qt.io/qt6-dev/",
}
@@ -60,8 +60,8 @@ def get_parser():
parser.add_argument(
"--qt-version",
"-v",
- default="6.5",
- choices=["6.5", "dev"],
+ default="6.8",
+ choices=["6.8", "dev"],
type=str,
dest="version",
help="the Qt version to use to check for types",
@@ -322,7 +322,7 @@ if __name__ == "__main__":
plt.xticks(rotation=45)
plt.ylabel("Types Count")
figure = plt.gcf()
- figure.set_size_inches(32, 18) # set to full_screen
+ figure.set_size_inches(32, 18) # set to full_screen
plt.savefig("missing_bindings_comparison_plot.png", bbox_inches='tight')
print(f"Plot saved in {Path.cwd() / 'missing_bindings_comparison_plot.png'}\n")