5 Sep 2024 |
outfoxxed | if not present its handled normally to avoid breaking anything that isn't a nix packaged qtquick application | 07:34:37 |
K900 | I wonder if upstream would be open to like | 07:36:31 |
K900 | Hashing all the build IDs together or something | 07:36:39 |
outfoxxed | In reply to @k900:0upti.me Hashing all the build IDs together or something it seems like qt has .tag for the same purpose as build id at least | 07:37:40 |
K900 | Yeah but that's just for Qt itself | 07:37:52 |
K900 | And I mean the build IDs of all the objects | 07:38:01 |
outfoxxed | its what goes into QML_COMPILE_HASH | 07:38:02 |
K900 | Including the application and whatever libraries it has loaded | 07:38:14 |
outfoxxed | In reply to @k900:0upti.me And I mean the build IDs of all the objects will they be able to handle this consistently on all their supported platforms? | 07:38:18 |
K900 | No | 07:38:26 |
outfoxxed | or like, anything other than linux/bsd even | 07:38:36 |
K900 | It would have to be in addition | 07:38:36 |
K900 | Not as a replacement | 07:38:43 |
outfoxxed | yeah I have no idea, but if anything happens upstream it probably won't be in a released qt version for quite a while at least | 07:40:38 |
outfoxxed | so we still do need something here | 07:40:50 |
K900 | We could backport | 07:41:05 |
K900 | That's not a problem | 07:41:08 |
K900 | Ugh hold on I need coffee | 07:41:14 |
K900 | I can't fit this three level cache key structure into my head right now | 07:41:28 |
outfoxxed | In reply to @k900:0upti.me We could backport not necessarily I've ended up looking through a few versions of this code for other reasons and it changes a lot | 07:41:57 |
outfoxxed | plus then we'd have a different qmlc format again | 07:42:18 |
outfoxxed | and that would break anything not using it | 07:42:27 |
outfoxxed | im not sure how much of a concern that is | 07:42:39 |
K900 | Well we'd have cache disabled for all the older versions | 07:42:49 |
K900 | So that's fine | 07:42:51 |
K900 | We can just start at version whatever-it-currently-is+1 | 07:43:01 |
outfoxxed | In reply to @k900:0upti.me I can't fit this three level cache key structure into my head right now The actual key is just the url of the qml file | 07:43:11 |
outfoxxed | the rest is just validation | 07:43:16 |
K900 | Not quite | 07:43:55 |
K900 | It's also the QApplication name | 07:43:59 |