Author Topic: Qt6 Development  (Read 161805 times)

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2086
  • Karma: +159/-0
    • View Profile
Re: Qt6 Development
« Reply #690 on: April 05, 2023, 08:55:53 am »
QtWebEngine 6.5 status:
[538/26354] CXX obj/third_party/icu/bundled_icui18n/choicfmt.o

FWIW, this is based on:
Based on Chromium version:                                      108.0.5359.181
Patched with security patches up to Chromium version:           110.0.5481.104

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2086
  • Karma: +159/-0
    • View Profile
Re: Qt6 Development
« Reply #691 on: April 05, 2023, 11:56:55 am »
Quick update.

Reasonable progress this evening, started with 26354 files to build - as of a few minutes ago, after several build breaks and restarts, it's at [504/16606] - so 16102 files to go, or roughly 40% complete.

Depending how I'm feeling, I'll resume work over the weekend. Github is up to date with source for all modules in the respective 6.5.x branches.

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2086
  • Karma: +159/-0
    • View Profile
Re: Qt6 Development
« Reply #692 on: April 05, 2023, 10:12:15 pm »
Morning update, it broke not long after I stopped watching, but the fixes were pretty easy. Resumed now and at: [1351/15183]

Edit: it broke not long after I posted:
Code: [Select]
[1818/15183] ACTION //net/http:generate_transport_security_state(//build/toolchain/os2:x86)
FAILED: gen/net/http/transport_security_state_static.h
C:/USR/BIN/python3 ../../../../../src/3rdparty/chromium/build/gn_run_binary.py transport_security_state_generator.exe ../../../../../src/3rdparty/chromium/net/http/transport_security_state_static.json.gz ../../../../../src/3rdparty/chromium/net/http/transport_security_state_static.pins ../../../../../src/3rdparty/chromium/net/http/transport_security_state_static.template gen/net/http/transport_security_state_static.h
[0406/044316.939000:ERROR:transport_security_state_generator.cc(94)] Pinset swehackCom references pin Swehack which doesn't exist
[0406/044316.939000:ERROR:transport_security_state_generator.cc(296)] Checks failed. Aborting.
transport_security_state_generator.exe failed with exit code 1
« Last Edit: April 05, 2023, 10:19:32 pm by Paul Smedley »

David McKenna

  • Hero Member
  • *****
  • Posts: 737
  • Karma: +24/-0
    • View Profile
Re: Qt6 Development
« Reply #693 on: April 05, 2023, 10:40:26 pm »
 Paul,

  Testing the 6.5 build now... Scribus works, but Dooble doesn't, going thru the examples everything that used to work in previous versions still does (so far) and same with everything that didn't work before.

  Good luck with your surgery!

Regards,

Andy Willis

  • Sr. Member
  • ****
  • Posts: 290
  • Karma: +7/-0
    • View Profile
Re: Qt6 Development
« Reply #694 on: April 06, 2023, 02:38:17 am »
xpdf is working with 6.5

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2086
  • Karma: +159/-0
    • View Profile
Re: Qt6 Development
« Reply #695 on: April 06, 2023, 02:53:12 am »
Out of surgery and in recovery now.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4658
  • Karma: +41/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Qt6 Development
« Reply #696 on: April 06, 2023, 03:06:58 am »
xpdf is working with 6.5

Hi Andy.
Please post the binaries to test it out. I don't know where those are.

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

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4658
  • Karma: +41/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: Qt6 Development
« Reply #697 on: April 06, 2023, 03:07:19 am »
Out of surgery and in recovery now.
Get well soon Paul !!!
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2086
  • Karma: +159/-0
    • View Profile
Re: Qt6 Development
« Reply #698 on: April 06, 2023, 09:57:25 am »
  Testing the 6.5 build now... Scribus works, but Dooble doesn't, going thru the examples everything that used to work in previous versions still does (so far) and same with everything that didn't work before.

NO real surprise that some stuff built for 6.2 doesn't work with the 6.5 DLLs - when the time is right, I'll rebuild everything against 6.5

Mentore

  • Full Member
  • ***
  • Posts: 148
  • Karma: +4/-0
    • View Profile
Re: Qt6 Development
« Reply #699 on: April 06, 2023, 10:05:41 am »
Out of surgery and in recovery now.

Get well soon, Paul!
Mentore

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2086
  • Karma: +159/-0
    • View Profile
Re: Qt6 Development
« Reply #700 on: April 06, 2023, 11:58:23 am »
Fixed/hacked a few things today - now at [21/11254] so about 57% complete

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2086
  • Karma: +159/-0
    • View Profile
Re: Qt6 Development
« Reply #701 on: April 06, 2023, 11:34:02 pm »
[705/7826] - most significant hacks have been for missing EGL code - see https://github.com/psmedley/qt6-webengine-os2/issues/14

I'll expand on that ticket in due course. For now I'll just been wrapping the affected code if #ifdef USE_EGL - but I'm sure that's not the best path forward. The missing code seems to be in one of 4 or five egl.h headers, but I'm not sure which is appropriate for our software GL.

Will revisit this stuff once the rest of the code is built, and compare to the 6.3/6.4 code to better understand what's changed.


Paul Smedley

  • Hero Member
  • *****
  • Posts: 2086
  • Karma: +159/-0
    • View Profile
Re: Qt6 Development
« Reply #702 on: April 07, 2023, 10:54:49 pm »
Saturday morning status: [1/1817]

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2086
  • Karma: +159/-0
    • View Profile
Re: Qt6 Development
« Reply #703 on: April 08, 2023, 03:02:53 am »
About 500 files to go and I get the following:
Code: [Select]
{1}[u:\dev\qt6-webengine-os2-6.5.x\build\src\core\release\i386] mksnapshot --tur
bo_instruction_scheduling --target_os=os2 --target_arch=x86 --embedded_src gen/v
8/embedded.S --embedded_variant Default --random-seed 314159265 --startup_src ge
n/v8/snapshot.cc --no-native-code-counters
Assertion failed: _UM_LUMP_STATUS (olump) == _UMS_FREE, file ./libc-0.1.10/src/emx/src/lib/malloc/ialloc.c, line 116

Killed by SIGABRT
pid=0x33b0 ppid=0x0041 tid=0x0001 slot=0x007d pri=0x0200 mc=0x0001 ps=0x0010
U:\DEV\QT6-WEBENGINE-OS2-6.5.X\BUILD\SRC\CORE\RELEASE\I386\MKSNAPSHOT.EXE
Creating 33B0_01.TRP
Moved 33b0_01.TRP to C:\var\log\app\64313478-33b0_01-MKSNAPSHOT-exceptq.txt

Edit: Cheated for now and replaced mksnapshot with the version from Qt 6.4.x
« Last Edit: April 08, 2023, 03:22:10 am by Paul Smedley »

Paul Smedley

  • Hero Member
  • *****
  • Posts: 2086
  • Karma: +159/-0
    • View Profile
Re: Qt6 Development
« Reply #704 on: April 08, 2023, 04:28:01 am »
OK the chromium code is built (not withstanding the comments above) time to try and make a DLL...

Better than expected....
Code: [Select]
FAILED: lib/Qt6WebEe.dll lib/Qt6WebEngineCore_dll.a
: && echo LIBRARY \"Qt6WebEe\" INITINSTANCE TERMINSTANCE > lib/Qt6WebEe.dll.def && echo DESCRIPTION \"@#cmake build system:0.0#@##1## 05 Apr 2023 12:17:02\ \ \ \ \ ARCAOS-F0FD356::::0::@@WebEngineCore\" >> lib/Qt6WebEe.dll.def && echo DATA MULTIPLE NONSHARED >> lib/Qt6WebEe.dll.def && c:/usr/local1220/bin/c++.exe -DNDEBUG -O2    -Zomf -Zmap -Zdll -Zlinker DISABLE -Zlinker 1121 -lcx   @src/core/Release/i386/QtWebEngineCore_objects.rsp @src/core/Release/i386/QtWebEngineCore_archives.rsp @src/core/Release/i386/QtWebEngineCore_libs.rsp -shared -o lib/Qt6WebEe.dll  src/core/api/CMakeFiles/WebEngineCore.dir/WebEngineCore_autogen/mocs_compilation.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qtwebenginecoreglobal.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginecertificateerror.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineclientcertificateselection.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineclientcertificatestore.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginecontextmenurequest.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginecookiestore.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginedownloadrequest.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginefilesystemaccessrequest.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginefindtextresult.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginefullscreenrequest.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginehistory.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginehttprequest.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineloadinginfo.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginemessagepumpscheduler.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginenavigationrequest.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginenewwindowrequest.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginenotification.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginepage.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineprofile.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginequotarequest.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineregisterprotocolhandlerrequest.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginescript.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginescriptcollection.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginesettings.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineurlrequestinfo.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineurlrequestjob.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineurlscheme.cpp.o src/core/api/CMakeFiles/WebEngineCore.dir/qwebengineurlschemehandler.cpp.o  -lssp -lavcodec -lavdevice -lavfilter -lavformat -lavresample -lavutil c:/usr/local/lib/libvpx.lib  U:/qt6-6.5/lib/Qt6Quick_dll.a  U:/qt6-6.5/lib/Qt6Gui_dll.a  U:/qt6-6.5/lib/Qt6QmlModels_dll.a  U:/qt6-6.5/lib/Qt6WebChannel_dll.a  U:/qt6-6.5/lib/Qt6Qml_dll.a  U:/qt6-6.5/lib/Qt6Network_dll.a  U:/qt6-6.5/lib/Qt6Positioning_dll.a  U:/qt6-6.5/lib/Qt6Core_dll.a  -lpthread lib/Qt6WebEe.dll.def && emximp -o lib/Qt6WebEngineCore_dll.a lib/Qt6WebEe.dll && :
weakld: error: Unresolved symbol (UNDEF) '__ZN2gl13GetDisplayEGLEy'.
weakld: info: The symbol is referenced by:
    U:\dev\qt6-webengine-os2-6.5.x\build\src\core\Release\i386\obj\ui\gl\init\libgl_init.a(init_jumbo_1.o)
weakld: error: Unresolved symbol (UNDEF) '__ZN2gl4init41InitializeExtensionSettingsOneOffPlatformEPNS_9GLDisplayE'.
weakld: info: The symbol is referenced by:
    U:\dev\qt6-webengine-os2-6.5.x\build\src\core\Release\i386\obj\ui\gl\init\libgl_init.a(init_jumbo_1.o)
    U:\dev\qt6-webengine-os2-6.5.x\build\src\core\Release\i386\obj\gpu\ipc\service\libgpu_ipc_service.a(service_jumbo_1.o)
weakld: error: Unresolved symbol (UNDEF) '__ZN2gl4init34CreateOffscreenGLSurfaceWithFormatEPNS_9GLDisplayERKN3gfx4SizeENS_15GLSurfaceFormatE'.
weakld: info: The symbol is referenced by:
    U:\dev\qt6-webengine-os2-6.5.x\build\src\core\Release\i386\obj\ui\gl\init\libgl_init.a(init_jumbo_1.o)
    U:\dev\qt6-webengine-os2-6.5.x\build\src\core\Release\i386\obj\gpu\ipc\service\libgpu_ipc_service.a(service_jumbo_1.o)
    U:\dev\qt6-webengine-os2-6.5.x\build\src\core\Release\i386\obj\components\viz\service\libservice.a(service_jumbo_7.o)
weakld: error: Unresolved symbol (UNDEF) '__ZN2v88internal8Snapshot20ShouldVerifyChecksumEPKNS_11StartupDataE'.
weakld: info: The symbol is referenced by:
    U:\dev\qt6-webengine-os2-6.5.x\build\src\core\Release\i386\obj\v8\v8_base_without_compiler\v8_base_without_compiler_jumbo_52.o
weakld: error: Unresolved symbol (UNDEF) '__ZN2gl4init18ShutdownGLPlatformEPNS_9GLDisplayE'.
weakld: info: The symbol is referenced by:
    U:\dev\qt6-webengine-os2-6.5.x\build\src\core\Release\i386\obj\ui\gl\init\libgl_init.a(init_jumbo_1.o)
weakld: error: Unresolved symbol (UNDEF) '__ZN2gl4init19CreateViewGLSurfaceEPNS_9GLDisplayEm'.
weakld: info: The symbol is referenced by:
    U:\dev\qt6-webengine-os2-6.5.x\build\src\core\Release\i386\obj\gpu\ipc\service\libgpu_ipc_service.a(service_jumbo_2.o)
Ignoring unresolved externals reported from weak prelinker.
ninja: build stopped: subcommand failed.

As suspected, mostly related to opengl...
« Last Edit: April 08, 2023, 05:03:35 am by Paul Smedley »