| 5 Sep 2024 |
outfoxxed | also consider | 08:02:36 |
outfoxxed | wait | 08:02:42 |
outfoxxed | i think ive got it | 08:02:45 |
outfoxxed | just the presence of bare qml doesn't necessarily signify that there isn't any aot | 08:03:08 |
outfoxxed | when exporting qml modules it includes the bare qml in addition | 08:03:18 |
outfoxxed | you'll have to actually check the build scripts to see how its included | 08:03:31 |
K900 | Hm | 08:03:40 |
K900 | Yeah I think that might be it | 08:03:48 |
K900 | But then I wonder when we'd end up using those | 08:03:56 |
outfoxxed | when everything else somehow fails i think | 08:04:07 |
outfoxxed | lemme find the docs | 08:04:11 |
outfoxxed | https://doc.qt.io/qt-6/qt-add-qml-module.html#caching-compiled-qml-sources | 08:05:32 |
outfoxxed |
All .qml, .js, and .mjs files added to the module via the QML_FILES argument will be compiled to bytecode and cached directly in the backing target. This improves load-time performance of the module. The original uncompiled files are also stored in the backing target's resources, as these may still be needed in certain situations by the QML engine.
| 08:05:42 |
outfoxxed | *
All .qml, .js, and .mjs files added to the module via the QML_FILES argument will be compiled to bytecode and cached directly in the backing target. This improves load-time performance of the module. The original uncompiled files are also stored in the backing target's resources, as these may still be needed in certain situations by the QML engine.
| 08:05:48 |
outfoxxed | this might be whats happening | 08:06:05 |
K900 | Certain situations my ass | 08:06:11 |
K900 | Very helpful | 08:06:15 |
outfoxxed | it sounds like the resource path only, but when I compiled a module from my own application it copied the source as well | 08:06:35 |
outfoxxed | * it sounds like the resource path only, but when I compiled a module from my own application it copied the source to the module dir as well | 08:06:43 |
K900 | Here's a crazy idea | 08:07:27 |
K900 | Just make it log very loudly when it's trying to cache bare QML | 08:07:41 |
K900 | Along with the file path | 08:07:44 |
K900 | And run that for a bit | 08:07:50 |
K900 | And see when it actually gets hit, if ever | 08:07:57 |
outfoxxed | doesn't even need to be loudly | 08:07:58 |
outfoxxed | just needs a category | 08:08:01 |
K900 | Well very loudly is helpful for finding it in the journal later | 08:08:09 |
K900 | But otherwise yes | 08:08:14 |
outfoxxed | I don't run many qml applications or plasma so I can't really test that | 08:08:23 |
outfoxxed | someone with plasma would be the best choice | 08:08:29 |