Re: [Development] Regarding QML cache strict version compatibility

2025-03-05 Thread Ulf Hermann via Development
Hi, According to `Unit::verifyHeader()` @ `qv4compileddata.cpp`, the version needs to strictly match: This is a thorny issue. The Qt version check was put in along with a number of other checks back when they invented the QML disk cache. There was no detailed reasoning for the individual che

Re: [Development] Regarding QML cache strict version compatibility

2025-03-05 Thread Lars Knoll via Development
> On 5 Mar 2025, at 10:49, Ulf Hermann via Development > wrote: > > Hi, > >> According to `Unit::verifyHeader()` @ `qv4compileddata.cpp`, the version >> needs to strictly match: > > This is a thorny issue. The Qt version check was put in along with a number > of other checks back when they

[Development] Regarding QML cache strict version compatibility

2025-03-04 Thread Fatih Uzunoğlu
Hello, According to `Unit::verifyHeader()` @ `qv4compileddata.cpp`, the version needs to strictly match: ```     if (qtVersion != quint32(QT_VERSION)) {     *errorString = QString::fromUtf8("Qt version mismatch. Found %1 expected %2")    .arg(qtVersion, 0, 16).