Author Topic: Qt6 Application Testing  (Read 275459 times)

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5027
  • Karma: +113/-1
    • View Profile
Re: Qt6 Application Testing
« Reply #60 on: February 14, 2023, 03:11:33 am »
Git repository, https://chromium.googlesource.com/webm/libvpx/+/refs/tags/v1.13.0
Tarball, https://storage.googleapis.com/downloads.webmproject.org/releases/webm/libvpx-1.13.0.tar.gz
Thanks Dave - I'll take a look. Sorry - 'Ugly Duckling' being a code name for vpx was too cryptic for me :)

All the releases have had duck names, though it seems they're running out :)

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2254
  • Karma: +173/-0
    • View Profile
Re: Qt6 Application Testing
« Reply #61 on: February 14, 2023, 03:56:07 am »
From what I can see, the only thing missing in the chromium version of libvpx was -mstackalign. I updated build.gn and set a build going. Will see if it makes any difference. For now, thats easier than having another dependency that's not in rpm...

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4977
  • Karma: +44/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Qt6 Application Testing
« Reply #62 on: February 14, 2023, 04:33:06 am »

Quote
- Qt6 libs - https://www.dropbox.com/s/2om1wusf843us7j/qt6-6.2.4-os2-20230214.zip?dl=0
- Dooble   -  https://smedley.id.au/tmp/dooble-2023.01.30-os2-qt6-20230212.zip

I have this optional procedure to test Dooble:
Quote
Procedure
- VIRTUALADDRESSLIMIT=2560 on Config.sys
- Deleted .doodle on Home
Then:
 set PATH=C:\qt6\bin;%PATH%
 set BEGINLIBPATH=c:\qt6\lib
 dooble --disable-gpu
Import Blocklist
- Go to Tools => Accepted / Blocked Domains. There you select Block Mode and use the button "Import..." to import the text file "blocklist.txt".

Hi

I started from scratch with this new release of Qt6 and now Dooble is working fine, it is rendering web pages again. No need to add the blocklist.
Seems that I have something strange in my last VM that got wiped with this new one.

https://html5test.com/ gives me 516.

I got this on the dooble command line.
Quote
[C:\HOME\DESKTOP\DOOBLE-2023.01.30-OS2-QT6-20230212]dooble --disable-gpu
[66:7:0213/223038.578000:ERROR:nss_util.cc(177)] Error initializing NSS with a p
ersistent database (sql:C:\Home\.pki\nssdb): NSS error code: -8174
js: The 'options' directive has been replaced with 'unsafe-inline' and 'unsafe-e
val' source expressions for the 'script-src' and 'style-src' directives. Please
use those directives instead, as 'options' has no effect.
qt.qpa.mime: isDelayed true
qt.qpa.mime: convert to format f691 "text/unicode" flags 400 data 0 isDelayed tr
ue ok true
qt.qpa.mime: convert to format 1 "#1\u0000\u0000\u0000\u0000" flags 400 data 0 i
sDelayed true ok true
qt.qpa.mime: convert to format 1 "#1\u0000\u0000\u0000\u0000" flags 400 data 10e
e0000 isDelayed false ok true

Regards
« Last Edit: February 14, 2023, 04:48:19 am by Martin Iturbide »
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5027
  • Karma: +113/-1
    • View Profile
Re: Qt6 Application Testing
« Reply #63 on: February 14, 2023, 05:16:46 am »
From what I can see, the only thing missing in the chromium version of libvpx was -mstackalign. I updated build.gn and set a build going. Will see if it makes any difference. For now, thats easier than having another dependency that's not in rpm...

Yes, it is likely needed, it's a shame exceptq didn't disassemble the instructions. Just worry about the alignment with obj format, there's limits.
I should test with the stand alone libvpx.

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2254
  • Karma: +173/-0
    • View Profile
Re: Qt6 Application Testing
« Reply #64 on: February 14, 2023, 08:40:50 am »
Thanks Roberto, I'll raise a ticket against qtbase and investigate when time permits. Hopefully, I misapplied a patch and with the possible exception of the euro, it's a comparatively easy fix.
https://github.com/psmedley/qt6-base-os2/issues/13

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2254
  • Karma: +173/-0
    • View Profile
Re: Qt6 Application Testing
« Reply #65 on: February 14, 2023, 09:12:17 am »
Too hard to explain the specifics, but i built a WIP (work in progress) qt6webee.dll with -mstackrealign applied to the in-tree libvpx. With this DLL, I can 'Watch Live' at https://www.abc.net.au/news/newschannel/ for the 1st time. https://smedley.id.au/tmp/qt6webee-20230214.zip

I did get a crash from a video on youtube though - libvpx is definitely still implicated.... POssibly worth reviewing https://github.com/psmedley/qt6-webengine-os2/commit/805bf77f6685a414b4688534b440b001a7c6252c

Edit: screenshot attached before it crashed :)
« Last Edit: February 14, 2023, 10:03:09 am by Paul Smedley »

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2254
  • Karma: +173/-0
    • View Profile
Re: Qt6 Application Testing
« Reply #66 on: February 14, 2023, 10:19:08 am »
Hi/2.

I've built VLC successfully with .pc files extracted from MSYS2 packages, modified in according to your .pc files and renamed to Qt5*.pc.

However, VLC fails at startup due to SIGSEGV in Qt6Core.dll. I attach .pc files and EXCEPTQ log.

Thanks!

Are you able to raise a ticket for this at my GitHub?

roberto

  • Hero Member
  • *****
  • Posts: 824
  • Karma: +3/-6
    • View Profile
Re: Qt6 Application Testing
« Reply #67 on: February 14, 2023, 04:58:17 pm »
Too hard to explain the specifics, but i built a WIP (work in progress) qt6webee.dll ........... for the 1st time. https://smedley.id.au/tmp/qt6webee-20230214.zip
When Dooble executes with this new DLL, this replies this:
SYS1804: The system cannot find the file QT6POSIG.

saludos

TeLLie

  • Full Member
  • ***
  • Posts: 239
  • Karma: +12/-0
    • View Profile
Re: Qt6 Application Testing
« Reply #68 on: February 14, 2023, 08:17:05 pm »

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2254
  • Karma: +173/-0
    • View Profile
Re: Qt6 Application Testing
« Reply #69 on: February 14, 2023, 08:51:48 pm »
Hi Roberto

Maybe this new version is required...

https://www.dropbox.com/s/2om1wusf843us7j/qt6-6.2.4-os2-20230214.zip?dl=0

Tellie wins a prize :) The 'full' builds include all 'public' fixes, but from time to time, will include additional changes that haven't been released elsewhere. I did mention QtPositioning when I posted the link to the 'full' build but I guess I wasn't explicit enough.

roberto

  • Hero Member
  • *****
  • Posts: 824
  • Karma: +3/-6
    • View Profile
Re: Qt6 Application Testing
« Reply #70 on: February 14, 2023, 09:44:46 pm »
wow!!!

TeLLie

  • Full Member
  • ***
  • Posts: 239
  • Karma: +12/-0
    • View Profile
Re: Qt6 Application Testing
« Reply #71 on: February 14, 2023, 10:15:03 pm »
Hi all,
Uploaded 2 new progs to /test/QT6

Iqpuzzle-1.2.9-qt6.zip and QtTube-14-02-2023.zip


QtTube is a Qt frontend for YouTube, made in C++. It aims to provide all of the features of the YouTube website, many of which other frontends do not include, while maintaining as much privacy as possible.

Features
FULLY FUNCTIONAL YouTube login.
TOTAL INTEGRATION with YouTube. This means, assuming you haven't turned the features off in the Settings and you are logged in, videos you watch will be saved in your History and tweak your recommendations across not only this application but also the YouTube website and app.
Home page and watch page.
Roadmap
This list is ordered by priority. Everything will likely be added in this order.

Description, recommendations, etc. on watch page
Account menu
Switch video player from an embed of YouTube's player to one based off of libmpv
Subscriptions/history export

I can login to Youtube  but then it stops for me

Maybe any of you are more lucky and should play video's

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2254
  • Karma: +173/-0
    • View Profile
Re: Qt6 Application Testing
« Reply #72 on: February 14, 2023, 11:53:47 pm »
Stops as in just stalls playing, or stops as in silent exit?

David McKenna

  • Hero Member
  • *****
  • Posts: 809
  • Karma: +25/-0
    • View Profile
Re: Qt6 Application Testing
« Reply #73 on: February 15, 2023, 12:06:01 am »
 Thanks, Tellie for QtTube! I can run it, and log in, but all searches fail. Even a search on 'Cats' :-)

Regards,

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5027
  • Karma: +113/-1
    • View Profile
Re: Qt6 Application Testing
« Reply #74 on: February 15, 2023, 01:19:17 am »
Ran "make test" on libvpx with the default aout build, not even linked with -Zomf,
Code: [Select]
[----------] Global test environment tear-down
[==========] 910 tests from 53 test suites ran. (1108319 ms total)
[  PASSED  ] 910 tests.

  YOU HAVE 4 DISABLED TESTS

It downloaded a couple of GB's of yuv files and took perhaps 6 hours. I'll try adding -Zomf to CFLAGS, LDFLAGS etc along with your patch and run the test tonight.