Bug 384694

Summary: Qt Quick errors are not shown in Run toolview
Product: [Applications] kdevelop Reporter: Safa Alfulaij <safa1996alfulaij>
Component: Language Support: QML/JavaScriptAssignee: kdevelop-bugs-null
Status: RESOLVED WAITINGFORINFO    
Severity: normal    
Priority: NOR    
Version First Reported In: 5.1.2   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Safa Alfulaij 2017-09-14 07:09:26 UTC
If you have a QML file that has an error, these errors are not shawn in the "Run" toolview, and the app keeps run (which is true) without any notice of an error.

Example QML file:

############################
import QtQuick 2.7

Item
{
    width: "Hi!"
    appProp: 240
}
############################

If you run the app from terminal, it complains about appProp first, fixing it will lead to the width error then.


[safa@archlinux src]$ ./testApp
QQmlApplicationEngine failed to load component
qrc:/qml/main.qml:6 Cannot assign to non-existent property "appProp"

*Fix in KDevleop*

[safa@archlinux src]$ ./testApp
QQmlApplicationEngine failed to load component
qrc:/qml/main.qml:5 Invalid property assignment: number expected
Comment 1 Kevin Funk 2018-10-24 21:00:31 UTC
I don't really understand what you mean here, please rephrase.