You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When a Java resource changes (i.e. editing a QML file and recompiling/restarting the app), Qt's access to that resource seems to be stuck on the old version.
To Reproduce
Create a simple app to display a QML hello world
Compile/run it
See that it says "hello world"
Change the QML file to say "bye world"
Compile/run it
It still says "hello world"
Expected behavior
The files that Qt is seeing should update when the files in the jar change instead of seemingly being cached the first time a file from that resource path is accessed
System (please complete the following information):
OS: Fedora 38
Java version: OpenJDK 21 (2023-09-19)
QtJambi version: 6.6.0
Qt version: 6.6.0
Additional context
Being built and run w/ sbt, but this seems to be irrelevant as manual inspection of the jars being ran shows they are being updated as expected.
The text was updated successfully, but these errors were encountered:
Qml caches contents to directory given by QStandardPaths.writableLocation(QStandardPaths.StandardLocation.CacheLocation) + "/qmlcache".
As a workaround you could delete the directory content at program start. Does this resolve the issue?
I guess there's something wrong with file time property.
Describe the bug
When a Java resource changes (i.e. editing a QML file and recompiling/restarting the app), Qt's access to that resource seems to be stuck on the old version.
To Reproduce
Expected behavior
The files that Qt is seeing should update when the files in the jar change instead of seemingly being cached the first time a file from that resource path is accessed
System (please complete the following information):
Additional context
Being built and run w/ sbt, but this seems to be irrelevant as manual inspection of the jars being ran shows they are being updated as expected.
The text was updated successfully, but these errors were encountered: