[ftinspect] Experimental Qt 6 support
Issues:
-
Build System support: CMake using versioned targets, and defaults to Qt 6. Meson not done; -
Blurred Continuous Panel: See below, under investigation; -
QTextCodec
deprecation: Some replacable withQStringConverter
, but the usage inStringRenderer
is not. The currentQStringEncoder/QStringDecoder
have poor support for charsets like GB 18030 or Shift-JIS. The current build for Windows isn't built against ICU so no support is provided. The Linux build is yet to be tested. Possible solutions: Build against ICU directly, or embed a tiny converter implementation; -
Crash when exiting: Need further investigation;
Edit: The blurred text issue may be related to the new behavior of QPainter
class in Qt6. The current render result is identical to the result of Qt5 version with a zoom factor of 1.5 (my monitor has a DPI of 150%). I'm thinking of using conditional compilation to handle this instead of forcing Qt 6 to use the old behavior. @wl Looking forward for your opinion, as well as the QTextCodec
issue.