Skip to content

Commit ffd592b

Browse files
Support for Qt v6.10
The Qt v6.10.0 installation for Linux on Intel created by the online installer was built using Red Hat Linux v9.4. This means that glibc v2.34 is now required. Earlier versions of Qt required glibc v2.28. The `manylinux` wheels tags that are generated now reflect the revised dependency.
1 parent 80761e3 commit ffd592b

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

pyqtbuild/builder.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# SPDX-License-Identifier: BSD-2-Clause
22

3-
# Copyright (c) 2024 Phil Thompson <phil@riverbankcomputing.com>
3+
# Copyright (c) 2025 Phil Thompson <phil@riverbankcomputing.com>
44

55

66
import os
@@ -103,9 +103,13 @@ def apply_user_defaults(self, tool):
103103
if self.qt_version >= 0x060000:
104104
from platform import processor
105105

106-
# The arm64 build is based on Ubuntu 24.04 specifically.
107106
if processor() == 'aarch64':
107+
# The arm64 build is based on Ubuntu 24.04.
108108
project.minimum_glibc_version = '2.39'
109+
elif self.qt_version >= 0x060a00:
110+
# The Qt v6.10 installer seems to be based on Ubuntu
111+
# 22.04 or similar.
112+
project.minimum_glibc_version = '2.34'
109113
else:
110114
project.minimum_glibc_version = '2.28'
111115
else:

pyqtbuild/bundle/qt_wheel.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,9 @@ def qt_wheel(package, qt_dir, build_tag, suffix, msvc_runtime, openssl,
4747
else:
4848
wheel_arch = 'x86_64'
4949

50-
if package.qt_version >= (6, 0, 0):
50+
if package.qt_version >= (6, 10, 0):
51+
manylinux = '_2_34'
52+
elif package.qt_version >= (6, 0, 0):
5153
manylinux = '_2_28'
5254
else:
5355
manylinux = '2014'

0 commit comments

Comments
 (0)