HomePhabricator

qt gui __init__: rm deprecated QApplication attr AA_X11InitThreads

Description

qt gui init: rm deprecated QApplication attr AA_X11InitThreads

Summary:
From https://doc.qt.io/qt-5/qt.html :

The following values are deprecated or obsolete:
Constant Value Description
Qt::AA_X11InitThreads 10 This value is obsolete and has no effect.

We started setting this attribute back when using Qt4,
as a workaround for some threading issues: https://github.com/spesmilo/electrum/pull/2820

However,

This is a backport of https://github.com/spesmilo/electrum/commit/f2e3d1101481e57711ba5fbbb37f733aa6b51298

Test Plan: run the application

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D18309

Details

Provenance
SomberNight <somber.night@protonmail.com>Authored on Oct 14 2022, 19:02
PiRKCommitted on Jul 2 2025, 11:59
PiRKPushed on Jul 2 2025, 11:59
Reviewer
Restricted Project
Differential Revision
D18309: qt gui __init__: rm deprecated QApplication attr AA_X11InitThreads
Parents
rABC2eb505151119: [electrum] Qt6 transition, step 1: wrap PyQt5 with qtpy
Branches
Unknown
Tags
Unknown