Author Topic: Qt6 Application Testing  (Read 177254 times)

TeLLie

  • Full Member
  • ***
  • Posts: 233
  • Karma: +11/-0
    • View Profile
Re: Qt6 Application Testing
« Reply #240 on: March 07, 2023, 06:47:12 pm »
Hello Roberto

Did you try it with "Heimer --lang es"

roberto

  • Hero Member
  • *****
  • Posts: 810
  • Karma: +3/-6
    • View Profile
Re: Qt6 Application Testing
« Reply #241 on: March 07, 2023, 08:24:07 pm »
(C:\var\tmp\qt6\heimer)heimer --lang es
Tue Mar  7 20:07:55 2023 Heimer version 3.7.0
Tue Mar  7 20:07:55 2023 Copyright (c) 2018-2023 Jussi Lind
Tue Mar  7 20:07:55 2023 Compiled against Qt version 6.2.4
Tue Mar  7 20:07:55 2023 Language forced to 'es'

I have tried two QT6 versions, and it doesn't work with any. Although it shows me that, but it doesn't work for me.
The key ñ fail, and is importan, España=Spain
Also tell you that when you press in Descard, it makes a medium hangs, it blocks a long time, but finally with Ctrl+C I can close it.
saludos Tellie

TeLLie

  • Full Member
  • ***
  • Posts: 233
  • Karma: +11/-0
    • View Profile
Re: Qt6 Application Testing
« Reply #242 on: March 07, 2023, 09:29:07 pm »
Hi Roberto

I have no Spain keyb
And can't test it.
I will ask Author about it.
The descard  key works here

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4748
  • Karma: +41/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Qt6 Application Testing
« Reply #243 on: March 08, 2023, 02:48:12 am »
Hi

Just one thing while trying to test Heimer. Where is QT6CORET.DLL ?
I'm using qt6-6.3.2-os2-20230228.zip

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Rich Walsh

  • Sr. Member
  • ****
  • Posts: 337
  • Karma: +23/-0
  • ONU! (OS/2 is NOT Unix!)
    • View Profile
Re: Qt6 Application Testing
« Reply #244 on: March 08, 2023, 03:15:21 am »
I have no Spain keyb
And can't test it.

For PM apps: go to System Setup->Keyboard->Layout, select "Spain".

 The 'ñ' is where the semicolon and colon would be on an English keyboard.

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2095
  • Karma: +160/-0
    • View Profile
Re: Qt6 Application Testing
« Reply #245 on: March 08, 2023, 03:24:28 am »
Hi

Just one thing while trying to test Heimer. Where is QT6CORET.DLL ?
I'm using qt6-6.3.2-os2-20230228.zip

Regards

I think that dll is from qttranslation, it's possible I didn't build it for 6.3.2.....

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4748
  • Karma: +41/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Qt6 Application Testing
« Reply #246 on: March 08, 2023, 03:56:05 am »
Hi

I found out that QT6CORET.DLL is not available in qt6-6.3.2. I grabbed just that file from qt6-6.2.4-os2-20230214 to test Heimer.

The older Qt5 version works fine with the ñ áéíóú and some other special characters. Qt 6 version does not support those, no matter if I run it in Spanish ("Heimer --lang es"). I even fully reverted back to " Qt version 6.2.4" and I got the same results with Heimer on Qt 6.

(Pictures attached)

Regards
« Last Edit: March 08, 2023, 04:03:55 am by Martin Iturbide »
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2095
  • Karma: +160/-0
    • View Profile
Re: Qt6 Application Testing
« Reply #247 on: March 10, 2023, 10:08:15 pm »
I found out that QT6CORET.DLL is not available in qt6-6.3.2. I grabbed just that file from qt6-6.2.4-os2-20230214 to test Heimer.

Yep, I forgot to build qt5compat for qt 6.3.2 - it will be included with qt 6.4.2

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2095
  • Karma: +160/-0
    • View Profile
Re: Qt6 Application Testing
« Reply #248 on: March 11, 2023, 07:08:58 am »
Qt 6.4.2 for testing - https://smedley.id.au/tmp/qt6-6.4.2-os2-20230311.zip - this has been tested very lightly - really just a couple of the example apps. I've tried to include all the same libraries as from Qt 6.2.4 - I even remembered the Qt5Compat lib this time :)

This does not (yet) include the QtWebEngine.... You can *probably* use the Qt 6.2.4 versions but I haven't tested this.

I'm hoping existing ports will work with these DLLs....

Original zip didn't include qtcharts or qttranslations, I just refreshed the zip:
82,850,267    124  qt6-6.4.2-os2-20230311.zip
« Last Edit: March 11, 2023, 09:55:42 am by Paul Smedley »

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4748
  • Karma: +41/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Qt6 Application Testing
« Reply #249 on: March 11, 2023, 01:47:04 pm »
Qt 6.4.2 for testing - https://smedley.id.au/tmp/qt6-6.4.2-os2-20230311.zip

Thanks Paul.

I'm testing Qt 6.4.2 with a recent Qoobar port that Tellie produced.
- ftp://ftp.netlabs.org/pub/qtapps/Qoobar-1.7.0-os2-6.2.4.7z
(I took TAG1.DLL from PMP. - ftp://ftp.netlabs.org/pub/qtapps/pmp-v0.2-os2.7z)
I'm getting an error on "Save" button, but it seems to be the same error than on Qt 6.2

Quote
[C:\DESKTOP\Qt6Test\qoobar]qoobar
unknown: warning: QAbstractItemView::closeEditor called with an editor that does
 not belong to this view
unknown: warning: QAbstractItemView::commitData called with an editor that does
not belong to this view
unknown: warning: QAbstractItemView::closeEditor called with an editor that does
 not belong to this view

Killed by SIGSEGV
pid=0x0071 ppid=0x006d tid=0x0001 slot=0x008a pri=0x0200 mc=0x0001 ps=0x0010
C:\DESKTOP\QT6TEST\QOOBAR\QOOBAR.EXE
cs:eip=201056a8:00000018      ss:esp=000c:00000003      ebp=00a00053
 ds=0000      es=0000      fs=0004      gs=0000     efl=00000004
eax=00a0e5c8 ebx=1ffc9d7c ecx=00a0e5dc edx=00a0e600 edi=00000004 esi=00a0ff9c
Creating 0071_01.TRP
Moved 0071_01.TRP to C:\var\log\app\640c3167-0071_01-QOOBAR-exceptq.txt

Regards
« Last Edit: March 11, 2023, 02:24:49 pm by Martin Iturbide »
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4748
  • Karma: +41/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Qt6 Application Testing
« Reply #250 on: March 11, 2023, 02:06:52 pm »
Qt 6.4.2 for testing - https://smedley.id.au/tmp/qt6-6.4.2-os2-20230311.zip

For the moment I had tested the following Qt6 apps with Qt 6.4.2 and are working fine:
- Connectagram
- CuteMaze
- FocusWriter - Works but special characters not working. áéíóú ñ Ñ
- Gottet
- IqPuzzle
- Kapow
- NovProg
- Qoobar - Loads but some crash with trying to save files (listed before).
- Tanglet
- Stack and Conquer
- Heimer - Works but same issue with special characters.
- Zint - Seems to work, but gotta test further the "copy as PNG", etc. Shows some info on the console.

- Tea - Same issue with special characters.
--And this warning.
Code: [Select]
update_keyboards()
"C:/Home/tea/keyboards"
qt.core.qobject.connect: QObject::connect: No such signal QComboBox::currentInde
xChanged (QString)

- Hexalate, Peg-E and SimSU, works fine but I got an error.
-- Go to "Settings" and change the language.
-- The following error shows on console.
Code: [Select]
OpenType support missing for "Hershey-Script-Complex", script 17
 OpenType support missing for "Hershey-Script-Simplex", script 17
 OpenType support missing for "URW Bookman L", script 17
 OpenType support missing for "Utopia", script 17
 OpenType support missing for "Dingbats", script 17
 OpenType support missing for "Midori Sans", script 17
 OpenType support missing for "Nimbus Sans L Condensed", script 17
 OpenType support missing for "URW Chancery L", script 17
 OpenType support missing for "Wingdings", script 17
 OpenType support missing for "Symbol", script 17
 OpenType support missing for "", script 17
 OpenType support missing for "", script 17

- Scribus. I can not set it up. I get confused with the paths and were the files should go.
-- I get a:
-- No icons found :(

- QtTube
--  Missing Qt6Web on 6.4.2

Regards
« Last Edit: March 11, 2023, 03:02:47 pm by Martin Iturbide »
Martin Iturbide
OS2World NewsMaster
... just share the dream.

David McKenna

  • Hero Member
  • *****
  • Posts: 751
  • Karma: +24/-0
    • View Profile
Re: Qt6 Application Testing
« Reply #251 on: March 11, 2023, 04:51:12 pm »
 Thanks Paul! This build of QT6.4.2 seems to work as well as 6.2 and 6.3, and has the same quirks. Everything I have tried (including Dooble with the 6.2 webengine) works as well as it did with previous versions. The biggest issue I see with the examples is the 'Workerscript plugin not found' error on QML and Quick examples (and a few others).

 @Martin - I just extracted Scribus to the root of my C: drive and it works well here (do get a python error on one of the plugins at start though).

Regards,

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2095
  • Karma: +160/-0
    • View Profile
Re: Qt6 Application Testing
« Reply #252 on: March 11, 2023, 11:36:04 pm »
Thanks guys - good to know that there are no obvious regressions.

@Martin - the qoobar trap is coming from within qoobar - not from Qt - so I suspect a porting issue.
@Martin - re: scribus, what @David said - whilst it *may* be portable - unzip it to the root of a drive, and run Scribus.
@David - Next time I compile Scribus, I'll aim to link it again the rpm python3 to avoid the error.

Andy Willis

  • Sr. Member
  • ****
  • Posts: 292
  • Karma: +7/-0
    • View Profile
Re: Qt6 Application Testing
« Reply #253 on: March 13, 2023, 06:57:40 am »
I've opened two PDF files (one xpdf built with QT5, and another after rebuilding with QT6).
Printed from both the one built with QT5 and the one with QT6 to PDF.  Both look from a test level OK:
Output starts with:
%!PS-Adobe-3.0
%XpdfVersion: 4.04
%%Creator: Writer
%%LanguageLevel: 2
However, neither xpdf nor lucide can open either file.  I cannot currently test printing to a real printer, so do not know if real printing works.
The only real changes that had to be done for the code was to add a couple of || defined and a section for cups in the cmakefiles.txt for OS2.  All following Linux, all related to printing...
For QT6 I had to go to a bug report where someone had submitted changes for QPrint due to deprecation changes.

P.S.  Maybe consider adding 7z as an upload option.  I did not notice it was not and the system helpfully removed my write-up that I had to re-write when it failed.
« Last Edit: March 13, 2023, 07:01:34 am by Andy Willis »

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4748
  • Karma: +41/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Qt6 Application Testing
« Reply #254 on: March 13, 2023, 05:15:42 pm »
P.S.  Maybe consider adding 7z as an upload option.  I did not notice it was not and the system helpfully removed my write-up that I had to re-write when it failed.

Hi
I changed the configuration. I guess now .7z files can be uploaded on the forum.
Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.