Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Paul Smedley

Pages: [1] 2 3 ... 169
1
Programming / Re: Qt6 Application Testing
« on: May 08, 2025, 10:50:14 pm »
What I'm wondering is whether there is an equivalent Qt5 Webengine to 6.2.6 and how to merge it.
Trying to clone Qt5 from the official sources, init repository fails,

In short....
Qt 6.2.6 - https://github.com/psmedley/qt6-webengine-os2/blob/main/CHROMIUM_VERSION
Code: [Select]
Based on Chromium version:                                      94.0.4606.126
Patched with security patches up to Chromium version:           104.0.5112.81

Qt 5.15.19 (latest tag at https://github.com/qt/qtwebengine/blob/5.15.19/CHROMIUM_VERSION
Code: [Select]
Based on Chromium version:                                      87.0.4280.144
Patched with security patches up to Chromium version:           135.0.7049.95

So the latest 5.15 version is older than what we have. We could however, try and cherry-pick the security fixes.

2
Programming / Re: Qt6 Application Testing
« on: May 08, 2025, 10:45:17 pm »
Yes, this one seems to work as well as the previous working version - with the same limitations (mostly occasional random system hangs). Any thought on trying to build the 6.2.12 version of webengine?

I'm currently stuck on 6.2.8 - which is the same webengine that came as part of Qt 6.4.x. The code compiles, but pretty much any site with javascript crashes. Any newer than 6.2.8 and we hit the webengine that came with Qt 6.5 - and we encounter https://github.com/bitwiseworks/node-os2/issues/1 where Dmik and I both got stuck at basically the same crash.

So in short, No.

3
Programming / Re: Qt6 Application Testing
« on: May 08, 2025, 01:14:33 am »
Bugger....I guess something in gcc 15 is triggering this. Will investigate over the next few days. On the plus side, I didn't get any out of memory failures building with 2 jobs.

FWIW sample exceptq.txt attached.

Lookingback through my emails, this seems to be an alignment issue - the joys of our aout object format......

Thankfully, it seems I fixed this in the Qt 6.4.x code with https://github.com/psmedley/qt6-webengine-os2/commit/d2b464fdc27bf23b1891ba63c1f5c00cd5b7a88c I knew the trp looked familiar....

Yep, with https://smedley.id.au/tmp/qt6-6.2.12-qtwebengine-6.2.6-os2-20250508.zip at least os2world.com loads ok :)

4
Programming / Re: Qt6 Application Testing
« on: May 07, 2025, 12:22:41 pm »
I do plan on rebuilding the webengine with GCC 15, but this may take a few days - depending how many times the build machine runs out of memory.

The build went surprisingly smoothly. (link removed) contains a rebuilt webengine from Qt 6.2.6.

Unfortunately, on my machine at least, I'm getting a 'Limit access fault' with simplebrowser.exe and dooble just closes.

<sigh> life wasn't meant to be easy. Will investigate tomorrow, but curious if it's something local (I've installed a bunch of yum updates recently)

5
Programming / Re: Qt6 Application Testing
« on: May 07, 2025, 10:12:14 am »
Thanks Paul - every QT6 app I've tried works just fine with this build! Haven't tried any examples yet though...

Thanks David, there weren't significant changes between 6.2.11 and 6.2.12, so I wouldn't expect behaviour to be too different.

6
Programming / Re: Qt6 Application Testing
« on: May 05, 2025, 10:58:47 am »
Webengine is unchanged from the January release, but the remaining Qt6 components are updated to Qt 6.2.12 LTS. https://smedley.id.au/tmp/qt6-6.2.12-qtwebengine-6.2.6-os2-20250505.zip This is also built with GCC 15.1.0

I do plan on rebuilding the webengine with GCC 15, but this may take a few days - depending how many times the build machine runs out of memory.

7
Programming / Re: Qt6 Development
« on: May 04, 2025, 10:44:04 pm »
Well surprise, surprise, qt 6.8 is still failing with:
Code: [Select]
Assertion failed: _UM_CRUMB_STATUS (crumb) == _UMS_FREE, file ./libc-0.1.13/src/emx/src/lib/malloc/ifree.c, line 30

TRP attached. I should probably do a debug build to make the TRP more useful. I'll have to dust my notes off from when I was last conversing with Steven around this TRP.

8
Programming / Re: Qt6 Development
« on: May 04, 2025, 11:56:25 am »
FWIW - currently updating main to 6.2.12 and 6.8.x to 6.8.3.... Seems it's been 3 months since I touched Qt.... using GCC 15.1.0 to build.

9
Programming / Re: GCC - updates
« on: May 04, 2025, 08:43:01 am »
Turns out I had an updated qt6core.dll built, I just guess I didn't package it up. https://smedley.id.au/tmp/qt6-6.2.x-qt6core-20250204.zip

10
Programming / Re: GCC - updates
« on: May 04, 2025, 08:06:43 am »
I fixed a similar TRP in qmake for Qt 6.8 - never seen it before in 6.2.x... Interestingly, the TRP looks similar to the one in Qt 6.8.x - perhaps its some kind of compiler optimisation issue?

Edit: I think https://github.com/psmedley/qt6-base-os2/commit/528a156563fee77b310f8bd120c7a7f9178fb802 might be the fix for this. I don't think this fix has made it into a public build. Perhaps rebuild qt6core.dll if you can locally and see if it helps.

11
Programming / Re: GCC - updates
« on: May 04, 2025, 07:48:47 am »
even better - then you do'nt have to keep removing it :)

12
Programming / Re: GCC - updates
« on: May 04, 2025, 07:38:00 am »
Are you also updating Qt for C++20?
Code: [Select]
:/work/dooble-dry/Source/dooble.cc
In file included from L:/QT6-6.2.X/include/QtCore/qfuture.h:45,
                 from L:/QT6-6.2.X/include/QtCore/QtCore:92,
                 from L:/QT6-6.2.X/include/QtConcurrent/QtConcurrentDepends:3,
                 from L:/QT6-6.2.X/include/QtConcurrent/QtConcurrent:3,
                 from K:/work/dooble-dry/Source/dooble.cc:41:
L:/QT6-6.2.X/include/QtCore/qfutureinterface.h:451:37: error: template-id not al
lowed for constructor in C++20 [-Werror=template-id-cdtor]
  451 |     explicit QFutureInterface<void>(State initialState = NoState)
      |                                     ^~~~~
L:/QT6-6.2.X/include/QtCore/qfutureinterface.h:451:37: note: remove the '< >'
cc1plus.exe: all warnings being treated as errors
make: *** [Makefile:12688: temp/obj/dooble.obj] Error 1
I wsan't planning on it - just remove -Werror from the makefiles..

13
Programming / Re: GCC - updates
« on: May 04, 2025, 07:37:16 am »
OK I think I've found the root cause of this...

OK https://smedley.id.au/tmp/gcc-15.1.0-os2-20250504.zip should fix the problems with filesystem support in libstdc++

The fix turned out to be pretty simple. I had recently set GCCOPT to -static-libgcc to avoid a dependency on gcc1.dll. However - libstdc++ is built with -shared-libgcc - and the flags conflict - so a bunch of configure tests were failing - which resulted in some broken functionality.

14
Programming / Re: GCC - updates
« on: May 04, 2025, 02:11:17 am »
OK I think I've found the root cause of this...

15
Programming / Re: GCC - updates
« on: May 03, 2025, 10:52:17 am »
just a FYI - gcc 15.1.10 has some issues with libstdc++ filesystem support which prevent syncqt.exe from Qt working, so I can're rebuilt Qt 6.8 with it (older versions don't use a compiled syncqt.exe are are OK).

Couple of different (but maybe related) errors:
Code: [Select]
  what():  filesystem error: cannot get file size: Operation not supported on socket [U:/dev/qt6-base-os2-6.8.x/build-gcc15/include/QtExampleIcons/qtexampleiconsversion.h]
Not a directory(20):filesystem error: cannot create directories: Not a directory [U:/dev/qt6-base-os2-6.8.x/build-gcc15/include/QtCore/6.8.3/QtCore/private]
The fix isn't obvious (yet)

Pages: [1] 2 3 ... 169