aboutsummaryrefslogtreecommitdiffstats
path: root/build_scripts/wheel_files.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix metatype JSON files missing in wheels (Windows)Friedemann Kleint2025-11-181-0/+1
| | | | | | | | | | | | Re-add parts of a line removed by 86e7c9e7674cc7bce872f2ec58bd1eeaf536b41d that preprend the metatype directory. Task-number: PYSIDE-3241 Pick-to: 6.10 Change-Id: Ic76d90a394ccd1309c0011c9008a5fb29bb0978d Reviewed-by: Simo Fält <simo.falt@qt.io> (cherry picked from commit 42be1cc7d9973b7da44c048981001b823b329704) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix metatype JSON files missing in wheels (Linux/macOS)Friedemann Kleint2025-11-171-78/+75
| | | | | | | | | | | | | In Qt, the files were renamed from "qt6core_relwithdebinfo_metatypes.json" to "qt6core_metatypes.json" as has always been the case for Windows. Fixes: PYSIDE-3241 Pick-to: 6.10 6.10.1 Change-Id: I12735c32504432ddffafa55e6c9ed209902f0554 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Expose QNativeInterface::QWaylandApplicationFriedemann Kleint2025-08-121-1/+2
| | | | | | | | | | [ChangeLog][PySide6] Bindings for QNativeInterface.QWaylandApplication have been added. Initial-patch-by: Mark Harfouche <mark.harfouche@gmail.com> Fixes: PYSIDE-2787 Change-Id: I3484fbd37cb4cd0ae70fde770eb9195a78f4b061 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* build: add missing 3DQuickLogic pluginCristián Maureira-Fredes2025-08-071-1/+4
| | | | | | | Fixes: PYSIDE-2956 Pick-to: 6.9 6.8 Change-Id: Id8f9d2fb1b5c623e2d449b9362088ba581dd3788 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* Move native interfaces out of the QtGui type system fileFriedemann Kleint2025-08-011-0/+1
| | | | | | | | | | | | It is bound to grow as more interfaces with more modifications are added. Rename the code snippet used for int conversion. Also add a test for X11. Task-number: PYSIDE-2787 Change-Id: Ia5f5cf7f0fbb551c38367d80e9fdb4b004db9085 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* Modify headers installation for CMake buildsShyamnath Premnadh2025-07-041-0/+4
| | | | | | | | | | | | | | | | | | | Previously, the headers are installed as ${CMAKE_INSTALL_PREFIX}/include/cmake_package_name, where cmake_package_name is the CMake package name, e.g., PySide6. In the wheels, the headers were included as package_name/include. Since the level of the include directory is different, this caused issues when importing the CMake package in a downstream project. - This change modifies the installation of the headers so that the CMake install prefix and the wheels are consistent. - Additionally - this change adds the libpyside6 headers to the wheels. - The include headers for libshiboken were shipped with shiboken6-generator and not with shiboken6, which has the libshiboken binary. Change-Id: I96e3280799da169836e24551b906274f5b0fc962 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Remove QtExampleIcons moduleFriedemann Kleint2025-07-041-6/+0
| | | | | | | | | | The module will be removed from Qt since it is not used there. This effectively reverts 559fb65547236694dc04973f7fb6b39bac75d158. Task-number: PYSIDE-2206 Task-number: QTBUG-110428 Change-Id: I149c1e6a2c3672050b4d1ba4633f07c7cdac5c1d Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* PySide Wheels: Add QtVirtualKeyboardQML binariesShyamnath Premnadh2025-05-301-0/+1
| | | | | | Pick-to: 6.9 6.9.1 Change-Id: I8449452aba296fd5d76c3c81e32d63f8ea906b81 Reviewed-by: Simo Fält <simo.falt@qt.io>
* PySide6: Add qmllint plugins to wheelsShyamnath Premnadh2025-03-181-0/+5
| | | | | | | | | | - Currently, these plugins only have quicklintplugin which provides QtQuick specialized warnings when QtQuick is run. Fixes: PYSIDE-3049 Pick-to: 6.8 6.9 Change-Id: Ieea5e57f3f0a990484daa144ed66de8178a92c5f Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* Fix multimedia to work on Linux with 6.8.1Friedemann Kleint2024-11-111-8/+6
| | | | | | | | | | The helper libraries are now also required on Linux. Also, some new libraries libQt6FFmpegStub*.so* were added. Pick-to: 6.8 Change-Id: I78ecd66139b18f48bbbe677990dc8ec570238199 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* build: add QtWebViewQuick module files to wheelCristian Maureira-Fredes2024-11-081-0/+8
| | | | | | | | | | | | | | | The missing WebViewQuick libraries were generating an error on pyside6-deploy. Now the WebViewQuick files are included. It's important to notice that it's not an actual module under sources/pyside6/PySide6 it's only to get the libraries from the Qt installation. Pick-to: 6.8 6.5 Task-number: PYSIDE-2910 Change-Id: Ie8773dc24f9c3019e951075f6e274df73abb60e9 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Christian Tismer <tismer@stackless.com>
* Bundle plugins required for QtWebViewFriedemann Kleint2024-11-081-0/+2
| | | | | | | | | Amends 83603fed574fc7b0eed452b347170862b12a98f6. Task-number: PYSIDE-2910 Pick-to: 6.8 6.5 Change-Id: Iabd7a2faaf1363f2dced0852acb1c6f572d297eb Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* build: make FluentWinUI3 available for Linux and macOSCristián Maureira-Fredes2024-11-071-1/+3
| | | | | | | | | | | | | | The style needs to be available for all supported platforms, not only Windows. We were still deploying the plugin, and when trying to find the library for the style, it was affecting the deployment of applications. Change-Id: If8c0b08627beddf59cfb682cc2594ba06aca31f2 Pick-to: 6.8 Fixes: PYSIDE-2910 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* build: Install module doc snippet filesFriedemann Kleint2024-10-161-0/+3
| | | | | | | | | | Amends b55e221464c18053fa44f18132071ebdaee8f432. Task-number: PYSIDE-1106 Fixes: PYSIDE-2893 Pick-to: 6.8 Change-Id: I4a2688bfb5fcdddc5c6baea49d2fdc9c0f2381f1 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* Fix the multimedia auxiliary libraries versions for 6.7.3Friedemann Kleint2024-09-241-7/+7
| | | | | | | | Use a wildcard to automatically get the latest version. Pick-to: 6.7 6.7.3 Change-Id: I69eb4e86f6ccdf5c6e240c35d10f2c0ca930a31d Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* Wheels: Bundle Qt5Compat.GraphicalEffects with PySide6-AddOnsShyamnath Premnadh2024-09-201-3/+3
| | | | | | | | | | | | | | | | - Qt5Compat's Graphical Effects library (libqtgraphicaleffectsprivateplugin.so) depends on Qt's Shader library (libQt6ShaderTools.so.6) which is bundled in the AddOns wheel. This causes application using Qt5Compat.GraphicalEffects to fail with a "Cannot load library" error. - This change bundles the Graphical Effects library with the AddOns wheel, thereby fixing the error. Pick-to: 6.7 Fixes: PYSIDE-2871 Change-Id: If76ede9ddd08a0cca80f59e3c1bab97918250e88 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Tooling: Add pyside6-svgtoqml toolShyamnath Premnadh2024-09-051-0/+1
| | | | | | Task-number: PYSIDE-2620 Change-Id: I0627c35162d37a9fa4fdb716235aacd15cdfb698 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* PySide: Add missing QtQml, QtQuick modules for 6.8Shyamnath Premnadh2024-09-051-1/+12
| | | | | | Task-number: PYSIDE-2620 Change-Id: I904d41ccd24e37ec4fbd9d6cd652a9b19c61a0cb Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Adapt to 6.8Friedemann Kleint2024-09-051-0/+7
| | | | | | | Task-number: PYSIDE-2620 Task-number: QTBUG-125719 Change-Id: I6efeb1770c9bd7cddc3dbd91ca6294b9fddc9cc9 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Add QtWebViewShyamnath Premnadh2024-07-311-0/+6
| | | | | | | | | [ChangeLog][PySide6] QtWebView has been added. Pick-to: 6.5 6.7 Task-number: PYSIDE-2825 Change-Id: I4617cb6b170b37c232ba55aa8be374f150604105 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* build: Add multimedia dependencies to macOS wheelsShyamnath Premnadh2024-07-081-3/+11
| | | | | | | | | - Extends 3f3856ba94a59de49bc6c636c77a6173fd91c333 for macOS Pick-to: 6.7 Task-number: PYSIDE-2656 Change-Id: I13c1c89c16cc01d6630f750b40dfb9a6d2d9ed00 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* Use modern typing syntaxAdrian Herrmann2024-06-201-16/+15
| | | | | | | | | | | | We can already use the modern typing syntax introduced with Python 3.10 in 3.9 via future statement definitions, even before we raise the minimum Python version to 3.10. Note that direct expressions with "|" don't work yet. Task-number: PYSIDE-2786 Change-Id: Ie36c140fc960328322502ea29cf6868805a7c558 Reviewed-by: Christian Tismer <tismer@stackless.com>
* Python-3.10: Allow the new syntax for Python 3.9Christian Tismer2024-06-201-0/+1
| | | | | | | | Add a future statement to all Python source files. Task-number: PYSIDE-2786 Change-Id: Icd6688c7795a9e16fdcaa829686d57792df27690 Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
* PySide6: Add virtualkeyboarsettings to wheelShyamnath Premnadh2024-05-141-0/+2
| | | | | | | | | | | - Adds libQt5VirtualKeyboardSettings.so (or the corresponding .dylib or .dll) to the wheel. This is required to use `import QtQuick.VirtualKeyboard.Settings` from QML. Pick-to: 6.7 6.5 Fixes: PYSIDE-2750 Change-Id: Ibd25c539a6a13a5a6ee19f0a86bc2a6402155bb6 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* Tooling: add pyside6-balsamShyamnath Premnadh2024-04-181-0/+1
| | | | | | | | | - Also add the relevant documentation Pick-to: 6.7 6.6 6.5 Task-number: PYSIDE-2629 Change-Id: Ic2e7798a5f0ff7015cb87089dda2420ed6327ca2 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* Tooling: Add pyside6-qsbShyamnath Premnadh2024-04-181-0/+1
| | | | | | | | | | | - Analogous to the qsb tool in Qt - Add pyside6-qsb tool to the documentation - Update developer documentation Pick-to: 6.7 6.6 6.5 Task-number: PYSIDE-2629 Change-Id: I93058ebb2864491e951f4f828d703d8893fbcbe7 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* build: Add multimedia dependencies to Qt artifactsAdrian Herrmann2024-03-281-0/+4
| | | | | | | | | | Add a number of DLL dependencies required by Qt Multimedia to the list of Qt artifacts to be retrieved from the Qt binary directory. Fixes: PYSIDE-2656 Pick-to: 6.7 6.6 6.6.3.1 Change-Id: I0ead82ce09a7afb309ff674b4f5fe5afc32319da Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* create_wheels: Add Qt quick controls style librariesFriedemann Kleint2024-03-271-5/+10
| | | | | | | Pick-to: 6.7 6.6 6.6.3.1 Fixes: PYSIDE-2655 Change-Id: I0049c6e7c639a63f16365e24723ee1eb18d6a729 Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
* build: add missing libraries for the wheelsCristián Maureira-Fredes2024-03-131-0/+14
| | | | | | | | | | 6.7 introduced many other files that needs to be included in order to enable other styles for QuickControls2, but also other files were included, like QmlNetwork, and QuickTimelineBlendTrees. Change-Id: Id5e8fa1024e0111717258d44627310f3fd45df3a Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
* build: add missing libraries for Quick3DCristián Maureira-Fredes2024-03-131-0/+4
| | | | | | | | | Discovered while adding the new libraries for 6.7 some Quick3D binaries were missing. Change-Id: I4b533f8a8c90ea0eba148451f5f3391a56373b80 Pick-to: 6.6 6.5 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* build: fix typo on module specificationCristián Maureira-Fredes2024-01-231-2/+2
| | | | | | | | | This doesn't have an effect on the module inclusion in the wheels, it's just a typo. Pick-to: 6.6 Change-Id: Id8651f231b2f0c01bb57ef39698b347ea5a76f05 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* build: add QtQuickTest to wheelsCristián Maureira-Fredes2024-01-231-0/+7
| | | | | | | | | | | The bindings were added without being added to a wheel. Amends 3750fe1095df1f9dc3bed1168294bc10061ac8d2 Task-number: PYSIDE-2543 Change-Id: Ibbd677b9f63e458842bab9853d3756a1ac56dfcb Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* Add QRhi and related classesFriedemann Kleint2023-11-021-0/+1
| | | | | | | | | | | | CMake logic borrowed from the native interface patch. [ChangeLog][PySide6] QRhi and related classes have been added. Pick-to: 6.6 Task-number: QTBUG-113331 Change-Id: I9dd8b0b92f71027fc9f2c170af2993a5b09a4cfd Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Fix QtWebEngine browser on WindowsFriedemann Kleint2023-10-121-0/+1
| | | | | | | | | Bundle the V8 startup snapshot. Pick-to: 6.6 Change-Id: I506b795dc85bb0f68a686f819d90d17854d60a10 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io> Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* PySide build: add QtAsyncio to PySide6-Addons wheelShyamnath Premnadh2023-10-121-0/+1
| | | | | | | | | Pick-to: 6.6 Task-number: PYSIDE-769 Change-Id: I6cf2ed970ab3e4811841ca845dba7e1c1bfd4f87 Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Add QtExampleIcons to the wheelCristián Maureira-Fredes2023-10-121-0/+6
| | | | | | | Change-Id: I5896d21f2c85de3a95c6cd6f9706206e2213c6c1 Pick-to: 6.6 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
* Implement custom asyncio event loop based on QtAdrian Herrmann2023-07-271-0/+6
| | | | | | | | | | | | asyncio is an established library for Python applications with concurrency and asynchronous I/O, and the de facto standard that multiple other async frameworks build upon. Like Qt, it is based on an event loop, so to this end, it offers an extensive API to implement custom event loops that applications using asyncio can then leverage. Task-number: PYSIDE-769 Change-Id: I3daf5d631e2fa0d44fd8c3c272ac5cce96f58653 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Add QtGraphsFriedemann Kleint2023-07-071-0/+7
| | | | | | Task-number: QTBUG-111305 Change-Id: I7ac79f59cfd0b85645d30485e86b6ff74bba20bb Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* Adapt to Qt 6.6Friedemann Kleint2023-07-071-0/+1
| | | | | | Change-Id: Ie6379044282809fe73790d03cd086845bee98089 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* create_wheels.py: Add some missing librariesFriedemann Kleint2023-05-221-0/+3
| | | | | | | Pick-to: 6.5 Fixes: PYSIDE-2334 Change-Id: I0eb0a723986445d87590e8e8e0425dff31857ffc Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* create_wheels.py: Add missing OpenGL type system filesFriedemann Kleint2023-05-151-0/+4
| | | | | | | | | | | Amends 39821c9265ca15373725e408b5ede19794b9e419. Pick-to: 6.5 Task-number: PYSIDE-2013 Task-number: PYSIDE-2017 Fixes: PYSIDE-2325 Change-Id: Idd0260ece308d54f8654ecf7ca5d67e7c546bcff Reviewed-by: Christian Tismer <tismer@stackless.com>
* create_wheels.py: Fix a bug in plugin codeFriedemann Kleint2023-05-111-2/+4
| | | | | | | | | Amends abcc61de2829b2ac191bf334005a3c10a68cbe2f. Pick-to: 6.5 Change-Id: Ia1226b219c4092f315fe9e3c2e236b54e6b8280b Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io> Reviewed-by: Christian Tismer <tismer@stackless.com>
* Tooling: Add qmlcachegenShyamnath Premnadh2023-04-181-0/+2
| | | | | | Pick-to: 6.5 Change-Id: I21ae563efb9488083289c7deb6435ae7e9405049 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* Add missing translationsFriedemann Kleint2023-04-181-0/+2
| | | | | | Pick-to: 6.5 Change-Id: I584eb3a40853ae63494d9ea053abf8f6b382a538 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* create_wheels.py: Use the Qt module JSON files to find pluginsFriedemann Kleint2023-04-181-45/+78
| | | | | | | | This allows for removing hardcoded plugin information. Pick-to: 6.5 Change-Id: I20527fb16f35dd6bad1d81c01376132829539ff3 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* PySide: Add QtLocation to wheelShyamnath Premnadh2023-03-301-0/+6
| | | | | | | | - Amends 452eac0702688a74539d2e66be07d6f322aa11ab Pick-to: 6.5 Change-Id: I1a6c9c68f689e1ccd875fad8ab2dda0de5fd1f0e Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* build: remove examples from wheels and installationCristián Maureira-Fredes2023-03-211-19/+2
| | | | | | | | | | | | | | | | | | To reduce the size and cluttering of wheels and installations the examples are not including any longer. The recommended way to get examples now is to download them directly from the Example Gallery in the documentation page. The option no-examples was removed. [ChangeLog][pyside6] Examples are not included in the wheels anymore and the option no-example was removed. Change-Id: I94fb24f9ffd6c55e2762e7c2e380b0f0ffe0bf61 Fixes: PYSIDE-2247 Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* Adapt to Qt 6.5Friedemann Kleint2023-02-091-2/+2
| | | | | | | | | | | | | | | | | | | | - Add new enums - Hide field QMetaMethod::mobj made protected by qtbase/0b701ec0cd86afbf6bb0d0abb361cfb6500c2e1b - Adapt to PDF qtwebengine/6769bd1544c56a514fe35bf16d05614605a49bea - Adapt to qhttpserver/55d10201dc7a47b239825548e053c1fb0de61115, adding a virtual method with rvalue reference to QAbstractHttpServer - create_wheels.py: Adapt to changed location of the metatypes directory in Qt after qtbase/4234ce12dc819b9ca76c8dc4c251f5bd4fe0bc9c. - Adapt error column in QDomDocument test - Fix QMetaObject::invoke() to work after qtbase/fe92b080658f0d8609e2a2a69e5ec2b51dd7bf9d by making the cast of the helper types to Q(Generic)ReturnArgument explicit in the snippets Change-Id: Ifb514878e999ad4c9ef00ff83172626eff112a3d Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
* build_scripts: Fix missing MSVC DLLs in PySide dirAdrian Herrmann2023-01-121-1/+2
| | | | | | | | | | | Fix a problem where the MSVC DLLs would only be copied into the shiboken6 directory of the wheel and not the PySide6 directory, leading to missing DLL errors on clean Windows installs. Pick-to: 6.2 5.15 Fixes: PYSIDE-2162 Change-Id: I4c07275906a292e4f314ab68231148664af70c4e Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* PySide6: Fix missing QtSpatialAudio in wheelsFriedemann Kleint2022-11-211-1/+1
| | | | | | Pick-to: 6.4 6.4.1 Change-Id: I0a79956a344893ca21e2ee80cd642ee31bb904c0 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>