Author Topic: Dooble releases-Qt6  (Read 29389 times)

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2375
  • Karma: +183/-0
    • View Profile
Re: Dooble releases-Qt6
« Reply #90 on: November 22, 2024, 05:10:36 am »
There are more recent sources than aug 23 in the main branch....

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5173
  • Karma: +118/-1
    • View Profile
Re: Dooble releases-Qt6
« Reply #91 on: November 22, 2024, 05:33:18 am »
There are more recent sources than aug 23 in the main branch....
So it is main I should checkout?

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2375
  • Karma: +183/-0
    • View Profile
Re: Dooble releases-Qt6
« Reply #92 on: November 22, 2024, 09:16:42 am »
There are more recent sources than aug 23 in the main branch....
So it is main I should checkout?

Yeah - main = 6.2.x - other branches are 6.3.x, 6.4.x and 6.5.x - current recommended qt6 & webengine builds are 6.2.x off of main.

I'm suspecting some kind of unicode issues in qt6-base-os2 but I could be very wrong...

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5173
  • Karma: +118/-1
    • View Profile
t6Re: Dooble releases-Qt6
« Reply #93 on: November 22, 2024, 05:26:23 pm »
I'm suspecting some kind of unicode issues in qt6-base-os2 but I could be very wrong...

That was my suspicion. I grepped through the Qt5 source for UniUconvToUcs, UniFreeUconvObject and CP850. Only CP850 gave any hits, mostly in libiconv and also in qtbase\src\corelib\codecs\qsimplecodec.cpp which doesn't even exist in Qt6 and doesn't seem relevant.
Thinking about it, Cairo Clock was broken and displaying unicode instead of the correct code page, as soon as it tried to display any umlauts or accents, it froze the WPS. Don't know if trying to display Unicode in the frame would do the same but assume so.

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5173
  • Karma: +118/-1
    • View Profile
Re: Dooble releases-Qt6
« Reply #94 on: November 22, 2024, 08:10:03 pm »
I guess it would be libicu or such that does the conversion.

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2375
  • Karma: +183/-0
    • View Profile
Re: Dooble releases-Qt6
« Reply #95 on: November 22, 2024, 09:08:01 pm »

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5173
  • Karma: +118/-1
    • View Profile
Re: Dooble releases-Qt6
« Reply #96 on: November 22, 2024, 09:59:43 pm »
I guess it would be libicu or such that does the conversion.

In which case it could be in https://github.com/psmedley/qt6-webengine-os2/tree/main/src/3rdparty/chromium/third_party/icu

Qt5's webengine uses the system libicu ver 68. Is there a build option to use the system ICU? Otherwise it might mean applying the system patches to the intree version 69. Seems every ICU update breaks compatibility with the previous release so not sure how hard that would be.

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2375
  • Karma: +183/-0
    • View Profile
Re: Dooble releases-Qt6
« Reply #97 on: November 23, 2024, 01:09:05 am »
IIRC it needs ICU 69 hence the use of the in-tree ICU. pretty sure I applied all the patches from the bww port of ICU68 though - but it's always possible I screwed something up

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5173
  • Karma: +118/-1
    • View Profile
Re: Dooble releases-Qt6
« Reply #98 on: November 23, 2024, 01:38:47 am »
Did you rebuild the ICU data files, or was rebuilding needed? See README.chromium in the icu directory. Other then that, I really don't know much about ICU.

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2375
  • Karma: +183/-0
    • View Profile
Re: Dooble releases-Qt6
« Reply #99 on: November 23, 2024, 09:20:00 am »
Did you rebuild the ICU data files, or was rebuilding needed? See README.chromium in the icu directory. Other then that, I really don't know much about ICU.
I didn't.... hmmm looks like a PITA :(

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2375
  • Karma: +183/-0
    • View Profile
Re: Dooble releases-Qt6
« Reply #100 on: November 23, 2024, 09:59:40 am »
Did you rebuild the ICU data files, or was rebuilding needed? See README.chromium in the icu directory. Other then that, I really don't know much about ICU.
I didn't.... hmmm looks like a PITA :(
OK I forked BWW icu and updated it to 69.1 (the version that chromium in 6.2.x uses) - https://github.com/psmedley/icu-os2

building it now...

Unfortunately the build is stopping with:
Code: [Select]
make[2]: Leaving directory '/home/psmedley/icu-os2/source/data'
make[1]: *** No rule to make target 'out/tmp/icudata.lst', needed by 'build-local'.  Stop.
make[1]: Leaving directory '/home/psmedley/icu-os2/source/data'
« Last Edit: November 23, 2024, 08:17:29 pm by Paul Smedley »

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2375
  • Karma: +183/-0
    • View Profile
Re: Dooble releases-Qt6
« Reply #101 on: November 23, 2024, 09:44:26 pm »
OK hacked thru this, and rebuilding webengine with system icu...

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5173
  • Karma: +118/-1
    • View Profile
Re: Dooble releases-Qt6
« Reply #102 on: November 24, 2024, 06:59:52 am »
OK hacked thru this, and rebuilding webengine with system icu...
Be nice if it is as simple as fixing libicu, otherwise likely somewhere in the widgets.

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5173
  • Karma: +118/-1
    • View Profile
Re: Dooble releases-Qt6
« Reply #103 on: November 24, 2024, 07:02:05 am »
Remy, how do you have your environment set up to display French in Dooble? Guess I could install a French version of AOS but I failed French in school :(

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2375
  • Karma: +183/-0
    • View Profile
Re: Dooble releases-Qt6
« Reply #104 on: November 24, 2024, 09:35:26 am »
OK hacked thru this, and rebuilding webengine with system icu...
Be nice if it is as simple as fixing libicu, otherwise likely somewhere in the widgets.

Agree it would be nice, however, OS/2 box keeps hanging/not responding trying to rebuild the webengine <sigh>

Sometimes it happens whilst getting close to making Qt6WebEn.dll - now it seems to repeatably hang/die whilst regenerating build files with gn. Have run jfs chkdsk and it shows clean...

Edit: ran cmake with --verbose and fingers crossed, seems to be getting further...

Edit2: got a DLL, but it's still not using system ICU :(
« Last Edit: November 24, 2024, 11:01:52 am by Paul Smedley »