This website requires JavaScript.
Explore
Help
Sign In
qiurui
/
qtdeclarative
mirror of
https://github.com/qt/qtdeclarative.git
Watch
1
Star
0
Fork
You've already forked qtdeclarative
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
5c594515f6
qtdeclarative
/
tests
/
auto
/
qml
/
qmllint
/
data
/
defaultPropertyComponent.2.qml
8 lines
72 B
QML
Raw
Normal View
History
Unescape
Escape
qmllint: Fix non-existent default property for Component Before children of Component caused errors about a non-existing default property. Task-number: QTBUG-92571 Change-Id: I702ea79cf18221c35be48a86c6da35e809de073f Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
2021-04-15 14:03:33 +00:00
import
QtQuick
2.0
qmltc: reject top level components In qqmljsimportvisitor, print an error message and return false when a top level component is visited. Also, remove all the tests expecting qmltc to accept top level components and add a test to see that the error is correctly emitted for top level components. Fix qmllint tests using top level components. Fixes: QTBUG-106558 Task-number: QTBUG-106547 Change-Id: I101b42fc7499049fcebca18e7aeab57fa6705f81 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
2022-09-12 14:40:56 +00:00
Item
{
Component
{
Rectangle
{
}
}
qmllint: Fix non-existent default property for Component Before children of Component caused errors about a non-existing default property. Task-number: QTBUG-92571 Change-Id: I702ea79cf18221c35be48a86c6da35e809de073f Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
2021-04-15 14:03:33 +00:00
}