Bug 412677 - Runtime error - file was compiled ahead of time
Summary: Runtime error - file was compiled ahead of time
Status: RESOLVED DOWNSTREAM
Alias: None
Product: ktouch
Classification: Applications
Component: general (other bugs)
Version First Reported In: 19.08.1
Platform: openSUSE Linux
: NOR critical
Target Milestone: ---
Assignee: Sebastian Gottfried
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-06 17:45 UTC by yoray
Modified: 2019-10-10 23:23 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description yoray 2019-10-06 17:45:08 UTC
SUMMARY
While opening Ktouch an error pops out in a new window containing this message - 
"Typewriter Trainer has encountered a runtime error and has to be closed"
in Details the message states - 
"qrc:/ktouch/qml/main.qml: File was compiled ahead of time with an incompatible version of Qt and the original file cannot be found. Please recompile" 

STEPS TO REPRODUCE
1. Open Ktouch


OBSERVED RESULT
Application crash and error message generated.

EXPECTED RESULT
Starting Ktouch.


SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20191003
KDE Plasma Version: 5.16.5
KDE Frameworks Version: 5.62.0
Qt Version: 5.13.1
Kernel Version: 5.3.1-1-default
OS Type: 64-bit
Processors: 12 × Intel® Core™ i7-3930K CPU @ 3.20GHz
Memory: 15.6 GiB of RAM


ADDITIONAL INFORMATION

I have tried also flatpak and Snap but the same error is present there as well.
Comment 1 Antonio Rojas 2019-10-06 18:34:26 UTC
It needs rebuilt with new Qt, report it to your distribution
Comment 2 Sebastian Gottfried 2019-10-10 23:23:36 UTC
Git commit cb5792c6e9c72d9cc02e93223c86c793c0157b79 by Sebastian Gottfried.
Committed on 10/10/2019 at 23:22.
Pushed by gottfried into branch 'Applications/19.08'.

Disable QML Precompilation by Default

The reduction of the time the app needs to launch because the
precompiled QML files is neglible, but we still get bug reports
because people try to run KTouch builds against newer Qt releases
which doesn't work. So from now on, this feauture must be turned
on explicitely to reduce further fallout.

M  +1    -1    CMakeLists.txt

https://commits.kde.org/ktouch/cb5792c6e9c72d9cc02e93223c86c793c0157b79