Page MenuHomePhabricator

qt: replace & remove deprecated API calls when compiling with Qt6
ClosedPublic

Authored by PiRK on Jun 2 2025, 09:25.

Details

Summary

qt6: Do not use deprecated QLibraryInfo::location in Qt 6

See https://doc.qt.io/qt-6/qtcore-changes-qt6.html#other-classes

https://github.com/bitcoin-core/gui/pull/623/commits/ad73447dc2bd04120c4eb7f5757613ad35a35cf5

qt6: Do not use deprecated high DPI attributes in Qt 6

In Qt 6, high DPI pixmaps and scaling are always enabled.

https://doc.qt.io/qt-6/highdpi.html

For the commit that cannot be backported yet, add a comment about missing backport (core-gui#556)

This is a backport of core-gui#623

Test Plan

ninja all check-all

Diff Detail

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

Event Timeline

PiRK requested review of this revision.Jun 2 2025, 09:25
PiRK retitled this revision from qt: replace & remove deprecated API calls to qt: replace & remove deprecated API calls when compiling with Qt6.Jun 2 2025, 09:26
This revision is now accepted and ready to land.Jun 2 2025, 15:28