Page MenuHomePhabricator

qt gui __init__: rm deprecated QApplication attr AA_X11InitThreads
ClosedPublic

Authored by PiRK on Jul 2 2025, 09:20.

Details

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

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable