qmlls: fix manual test

Fix the module name, it seems that the author didn't realize the
mismatched case probably due to his case-insensitive file system. Also
add an artificial warning (assigning to inexisting property `invalid`)
to better distinguish the cases of "qmlls has no lint warnings to show
about the module import" and "qmlls crashed and thats why no lint
warnings are to be seen".

Task-number: QTBUG-119163
Change-Id: I32735dfa08417ca1dba11f4a4899a040907c4999
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
This commit is contained in:
Sami Shalayel 2025-08-21 16:21:26 +02:00
parent 5d773e472d
commit a44dac1dc3
1 changed files with 6 additions and 2 deletions

View File

@ -2,7 +2,7 @@
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
import QtQuick
import autoGenCMake
import AutoGenCMake
Window {
width: 640
@ -10,5 +10,9 @@ Window {
visible: true
title: qsTr("Hello World")
HelloWorld { myP: 55; myPPP: 55 }
HelloWorld {
myP: 55
myPPP: 55
invalid: 123
}
}