- 
    Bug 
- 
    Resolution: Done
- 
     Not Evaluated Not Evaluated
- 
    Qt Creator 4.8.0-beta1
- 
        
- 
        7c92db106d5b7ea1696fe4df54033f4979d077e5 (qt-creator/qt-creator/master)
Steps to reproduce:
- create a Qt Quick Application (Empty) from template
- remove the QtQuick.Window import
- mark the code from
Window {until (excluding) the closing curly brace of the Window item 
- paste the following
Rectangle { id: window property string txtCnt: "Property" signal clicked function clicked() { console.log("click") } width: 800; height: 640 color: "white" Text { id: addedText text: "Squish QML outline test" color: "darkcyan" font.bold: true anchors.centerIn: parent }
- check the function clicked() inside the outline - there's a value assigned (for me it's a 'qsTr("Hello World")' - but I have seen others as well (depending on whether you replace or substitute code)
Found by Squish test tst_qml_outline.