OS/2, eCS & ArcaOS - Technical > Programming
Qt6 Application Testing
Dave Yeo:
Qt6 does seem to have a code page issue with the Windows titlebar though. Perhaps UTF8, though when the Cairo Clock was displaying UTF8 instead of the correct code page, it was hanging the WPS when trying to display umlauts.
Paul Smedley:
--- Quote from: Dave Yeo on October 21, 2024, 01:58:54 am ---Qt6 does seem to have a code page issue with the Windows titlebar though. Perhaps UTF8, though when the Cairo Clock was displaying UTF8 instead of the correct code page, it was hanging the WPS when trying to display umlauts.
--- End quote ---
Be good if someone could raise an issue for this in https://github.com/psmedley/qt6-base-os2
A guess of where to look would be https://github.com/psmedley/qt6-base-os2/blob/main/src/plugins/platforms/os2/qos2window.cpp#L247
Edit: the gui examples seem fine, so maybe it's something in webengine that sets the title to the current website...
Paul Smedley:
Hey All,
https://smedley.id.au/tmp/qt6-6.2.10-hotfix-20241229.zip has some fixes for issues in Qt 6.2.x
Unzip into x:\qt6-6.2.x
Fixes are described in:
https://github.com/psmedley/qt6-base-os2/commit/c61ed139c46e0478972bfb6c514871cb08b46eb5
https://github.com/psmedley/qt6-base-os2/commit/7060eb3e1a9d8b89b77073e7b3bd43df83bae264
https://github.com/psmedley/qt6-base-os2/commit/f2c2c5203d90f59f51770236fff15632249d55ad
Full credit to Rich Walsh for the fixes.
Should fix most of the issues with UTF8 fonts in the titlebar and window list.
Testing appreciated.
Cheers,
Paul
Martin Iturbide:
Thanks Paul
I had updated the first page. Please let me know if it requires any change/update.
I tried:
--- Quote ---- Qt6 libs / Webengine - https://smedley.id.au/tmp/qt6-6.2.10-qtwebengine-6.2.6-os2-20241012-gcc14.zip
- Hot fix - https://smedley.id.au/tmp/qt6-6.2.10-hotfix-20241229.zip
--- End quote ---
It still works fine with the Qt6 apps. I tried TEA and Dooble Qt6 and both works. The special characters no show issue is still there.
Regards
Dave Yeo:
You need the latest test build of Dooble (should be a new release at the end of the year) or put
--- Code: ---SET QT_PM_CP=1208
--- End code ---
in your environment. For programs like TEA, this is required until something like
--- Code: ---#ifdef Q_OS_OS2
if (!qEnvironmentVariableIsSet("QT_PM_CP"))
qputenv("QT_PM_CP", "1208");
#endif
--- End code ---
is added shortly after main()
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version