Planned maintenance has been done but it did not solve the problem. So work will continue on this and a new time for trying updates will be announced asap.

Create timer in component.oncompletion



  • Attempting to create a timer in Component.onCompleted using the following code but I keep getting an error about needing a ';'. Thanks for your help.

    Component.onCompleted: {
    		     Timer {
    		         interval: 1500; running: true; repeat: false;
    		         onTriggered: do_something;
    		     }
    }
    


  • @QtGuy said:

    Component.onCompleted: {

    Remove the ":"