1
Programming / Re: Qt6 Development
« on: January 12, 2025, 02:37:20 am »
OK, that got me further, but then cmake install doesn't complete due to missing targets.
Attached is a trap from a debug qmlcachegen
This helped.... it showed the free() call which is troubling libc came from:
Looking at qhash.h#1524: ie https://github.com/psmedley/qt6-base-os2/blob/6.8.x/src/corelib/tools/qhash.h#L1524
it has:
For the purposes of getting qtdeclarative built - I've just commented these two lines - will see if it completes!
Of course, I have no idea why this is problematic or how to 'correctly' fix it.
Attached is a trap from a debug qmlcachegen
This helped.... it showed the free() call which is troubling libc came from:
Code: [Select]
0013F468 1CD8CF17 QT6QMLCO 0001:000ACF17 qhash.h#1524 __ZN6QQmlJS15ContextualTypesD1Ev$w$lTwuLaOHst85hU6b4 + 87 0001:000ACE90 (U:\dev\qt6-declarative-os2-6.8.x\src\qmlcompiler\qqmljsimporter.cpp)
Looking at qhash.h#1524: ie https://github.com/psmedley/qt6-base-os2/blob/6.8.x/src/corelib/tools/qhash.h#L1524
it has:
Code: [Select]
1523: if (d && !d->ref.deref())
1524: delete d;
For the purposes of getting qtdeclarative built - I've just commented these two lines - will see if it completes!
Of course, I have no idea why this is problematic or how to 'correctly' fix it.