Bug 384694 - Qt Quick errors are not shown in Run toolview
Summary: Qt Quick errors are not shown in Run toolview
Status: RESOLVED WAITINGFORINFO
Alias: None
Product: kdevelop
Classification: Applications
Component: Language Support: QML/JavaScript (show other bugs)
Version: 5.1.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-14 07:09 UTC by Safa Alfulaij
Modified: 2018-10-24 21:00 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.