One more step in migration to Qt 6.
Could be tested with hebasto/bitcoin#3 or bitcoin/bitcoin#24798.
No behavior change when compiling with Qt 5.
One more step in migration to Qt 6.
Could be tested with hebasto/bitcoin#3 or bitcoin/bitcoin#24798.
No behavior change when compiling with Qt 5.
In Qt 6, registration of `QDataStream` streaming operators is done
automatically. Consequently, `qRegisterMetaTypeStreamOperators()` does
no longer exist. Calls to this method have to be removed when porting
to Qt 6.
See https://doc.qt.io/qt-6/qtcore-changes-qt6.html#the-qmetatype-class
See https://doc.qt.io/qt-6/qtcore-changes-qt6.html#other-classes
In Qt 6, high DPI pixmaps and scaling are always enabled.
https://doc.qt.io/qt-6/highdpi.html
<!--e57a25ab6845829454e8d69fc972939a-->
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
<!--174a7506f384e20aa4161008e828411d-->
No conflicts as of last run.
Concept ACK, need to finish testing
3f51d0b8b2b2fabf5e305bd71226a8e3e5f3ad2d
qRegisterMetaTypeStreamOperator when building with Qt6. The usage of qRegisterMetaType is the appropriate call for Qt6.ad73447dc2bd04120c4eb7f5757613ad35a35cf5
QLibraryInfo::path instead of QLibraryInfo::location. The new code here is correct as we use QLibraryInfoPath and we pass in a valid ::LibraryPath enum in ::TranslationsPathd8d99d041a063a1719fc1d43ecd4a6365e0657ca
ACK d8d99d041a063a1719fc1d43ecd4a6365e0657ca
Tested with Qt6 and the experimental Cmake branch and confirmed the window size and components look fine on a HIDPI and low dpi display. Also tested that I can still choose and switch through translations. Additionally, I performed a sanity check building with Qt5.
Code review ACK d8d99d041a063a1719fc1d43ecd4a6365e0657ca (and lightly tested on Qt5 only, the GUI starts, doesn't look weird, translations still work)