OS/2, eCS & ArcaOS - Technical > Programming

Qt6 Development

<< < (176/178) > >>

Paul Smedley:
Happy to incorporate any changes into the wiki entry, however I believe 1 & 3 are already captured in the examples provided.

KO Myung-Hun:
What I meant is your build instruction has no problems at all.  :)

Thanks!

Paul Smedley:

--- Quote from: KO Myung-Hun on January 31, 2025, 03:04:49 am ---What I meant is your build instruction has no problems at all.  :)

--- End quote ---

Cool, but you're not the 1st to miss the beginlibpath part - so perhaps I'll try explain that better...

Paul Smedley:
hi all,


--- Quote from: Paul Smedley on January 25, 2025, 08:07:18 am ---So I did some googling on:

--- Code: ---Assertion failed: _UM_LUMP_STATUS (olump) == _UMS_FREE
--- End code ---
without the source code reference given that can change with different libc versions.

Found a few references:

* https://github.com/bitwiseworks/node-os2/issues/1 - same failed assertion from dmitry trying to build mksnapshot from nodejs
* https://www.os2world.com/forum/index.php?topic=3182.690 - same failed assertion from me building mksnapshot.exe in qt 6.5
* https://lists.mplayerhq.hu/pipermail/mencoder-users/2010-July/012003.html - same - but from EMX?I think I'm even more confused now....

--- End quote ---

I found a simpler cause for the crash. With help from Stven, I used the debugger and identified that QLocal8Bit::convertToUnicode_sys was on the stack just before the failed assertion.

Rich added this function for OS/2 in https://github.com/psmedley/qt6-base-os2/commit/f2fb4fe0a00af76e6ab22a6829387aa100e331fa with the OS2 code being based on the Windows implementation.

For now, I've removed the use of this code, qmake works and I'll confirm qtdeclarative works before I declare victory. Then I'll work through the changes to the win32 implementation between Qt 6.2 and 6.8.

Update: this corrects the qmake.exe bug, still have issues with UMS_FREE and qmlcachegen.exe

Flashback:

--- Quote from: Paul Smedley on February 01, 2025, 07:50:33 am ---Rich added this function for OS/2 in https://github.com/psmedley/qt6-base-os2/commit/f2fb4fe0a00af76e6ab22a6829387aa100e331fa with the OS2 code being based on the Windows implementation.

--- End quote ---

The handling of U_BUFFER_OVERFLOW_ERROR looks suspicious. Neither the end of the target nor the end of the source buffers appear to get calculated correctly for the second call to ucnv_toUnicode and ucnv_fromUnicode.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version