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

Rich Walsh

  • Sr. Member
  • ****
  • Posts: 383
  • Karma: +26/-0
  • ONU! (OS/2 is NOT Unix!)
    • View Profile
Re: Dooble releases-Qt6
« Reply #165 on: December 04, 2024, 10:05:03 am »
https://doc.qt.io/qt-6/qtextcodec.html might help...
[...]
scratch this, QTextCodec is part of qt5compat which can't be used in building qt6core

I hate to run people around with a bunch of almost-but-not-quite-right binaries that we could easily test ourselves before release. Could we please take this development process offline until we do get it right? I'll send you and Dave an email.

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5186
  • Karma: +118/-1
    • View Profile
Re: Dooble releases-Qt6
« Reply #166 on: December 07, 2024, 04:11:11 am »
This build, ftp://dry@ftp.os2voice.org/dooble/dooble-2024.12.06-Qt6.zip is the same as the previous build except it has fixed window title for non-English titles, best shown with Remy's page, https://remydodin.levillage.org/en/.Other languages depend on the window title's font having the correct glyphs. Example, https://ru.ecomstation.ru/, which here shows the Russian in the title bar.
Currently Qt6 is missing the code that allows fixing the window list.
Also need https://smedley.id.au/tmp/qos2-20241205.zip and https://smedley.id.au/tmp/qt6core-20241206.zip
Thanks to Rich for coming up with the patches and Paul for building the Qt6 DLL's.

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5186
  • Karma: +118/-1
    • View Profile
Re: Dooble releases-Qt6
« Reply #167 on: December 07, 2024, 04:14:46 am »
Also, for both Qt5 and Qt6, the environment variable "QT_PM_CP" can be used to change the code page that the window title uses. To quote Rich,
Quote
Paul, setting the CP to 1208 in the environment should also enable
you/someone  to test the QT6 sample apps without having to change
a line of code.

Code page 1208 is UTF8.

David McKenna

  • Hero Member
  • *****
  • Posts: 849
  • Karma: +27/-0
    • View Profile
Re: Dooble releases-Qt6
« Reply #168 on: December 07, 2024, 03:11:59 pm »
 Thanks Dave, Rich and Paul for this fix! Works well here with Dooble using either QT6 or QT5.

 Dave, in regards to OpenGL, Paul said QT needs either gl2.h or egl.h to build OpenGL functions. You had made a build of PortableGL whose samples worked well here so I was wondering if PortableGL provided either of those files...

Regards,

Remy

  • Hero Member
  • *****
  • Posts: 794
  • Karma: +12/-1
    • View Profile
Re: Dooble releases-Qt6
« Reply #169 on: December 07, 2024, 04:05:07 pm »
Also, for both Qt5 and Qt6, the environment variable "QT_PM_CP" can be used to change the code page that the window title uses. To quote Rich,
Quote
Paul, setting the CP to 1208 in the environment should also enable
you/someone  to test the QT6 sample apps without having to change
a line of code.

Code page 1208 is UTF8.

How do you use this setting ?

I added as environment variable :
'set QT_PM_CP=1208'

This makes Dooble not start

 

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5186
  • Karma: +118/-1
    • View Profile
Re: Dooble releases-Qt6
« Reply #170 on: December 07, 2024, 05:07:10 pm »
Latest Dooble itself does not need the setting, it is for other Qt apps or if you want a different code page with Dooble.
Still it shouldn't crash and doesn't here. Look in popuplog.os2 for a exception report and try running "dooble.exe 2>&1 | tee dooble.log" without the quotes and see if dooble.log has anything interesting in it.

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5186
  • Karma: +118/-1
    • View Profile
Re: Dooble releases-Qt6
« Reply #171 on: December 07, 2024, 05:08:26 pm »
Thanks Dave, Rich and Paul for this fix! Works well here with Dooble using either QT6 or QT5.

 Dave, in regards to OpenGL, Paul said QT needs either gl2.h or egl.h to build OpenGL functions. You had made a build of PortableGL whose samples worked well here so I was wondering if PortableGL provided either of those files...

Regards,

No, PortableGL nor any other OpenGL library I've looked at have those headers.

Remy

  • Hero Member
  • *****
  • Posts: 794
  • Karma: +12/-1
    • View Profile
Re: Dooble releases-Qt6
« Reply #172 on: December 07, 2024, 11:34:09 pm »
Latest Dooble itself does not need the setting, it is for other Qt apps or if you want a different code page with Dooble.
Still it shouldn't crash and doesn't here. Look in popuplog.os2 for a exception report and try running "dooble.exe 2>&1 | tee dooble.log" without the quotes and see if dooble.log has anything interesting in it.

I give it a new try and start !
May be I had not enough storage during previous test. System was rebooted since 

Remy

  • Hero Member
  • *****
  • Posts: 794
  • Karma: +12/-1
    • View Profile
Re: Dooble releases-Qt6
« Reply #173 on: December 08, 2024, 02:45:00 am »
Hi !

I just had a system froze using Dooble qt6.
I don't know if this could help but I had a strange CPU% utilisation !

Regards
 

Remy

  • Hero Member
  • *****
  • Posts: 794
  • Karma: +12/-1
    • View Profile
Re: Dooble releases-Qt6
« Reply #174 on: December 09, 2024, 12:49:44 am »
Ok, I think having found, I left automatic CPU speed increase (Turbo boost) enable under BIOS.
Now disabled.

Seems more stable. One silent close but this time, i've got more informations into stdout logs:
[94:39:1208/234436.722000:ERROR:indexed_db_factory_impl.cc(595)] Failed to GetDBSizeFromEnv: IO error: /000039.log: File not found

 

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5186
  • Karma: +118/-1
    • View Profile
Re: Dooble releases-Qt6
« Reply #175 on: December 09, 2024, 02:48:34 am »
Profile corruption? If you remember the page that triggered the exception, you could go to \home\.dooble\WebEnginePersistentStorage\IndexDB and move the entry out of the way and see if that helps

Remy

  • Hero Member
  • *****
  • Posts: 794
  • Karma: +12/-1
    • View Profile
Re: Dooble releases-Qt6
« Reply #176 on: December 09, 2024, 04:18:51 pm »
Profile corruption? If you remember the page that triggered the exception, you could go to \home\.dooble\WebEnginePersistentStorage\IndexDB and move the entry out of the way and see if that helps

I deleted all files and no silent close but about freeze, it is as bad as before I change turbo boost bios option.
When on youtube, trying to open a new tab or moving the page cursor, sound goes into a loop and system freezes...
Reboot required.

The first creating problem is the audio but it seems also been impacted by the mouse movement etc !  driver issue or interrupt priority handling?   

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5186
  • Karma: +118/-1
    • View Profile
Re: Dooble releases-Qt6
« Reply #177 on: January 01, 2025, 04:09:27 am »
Latest release, https://github.com/dryeo/dooble/releases/tag/2024.12.31 or ftp://dry@ftp.os2voice.org/dooble/dooble-2024.12.31-Qt6.zip.
OS/2 changes, use utf8 in the Window Title as well as show dots for unprintable characters in the Window List. Requires Paul's latest build.