Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.5.1
-
None
-
* Windows 10
* Official Qt 5.5.1 with MSVC2013
Description
This code causes an application crash:
import QtQuick 2.3 import QtQuick.Window 2.2 import QtMultimedia 5.0 Window { visible: true MediaPlayer { id: mp autoPlay: true } Timer { id: t interval: 100 running: true repeat: true property bool toggled; onTriggered: { toggled = !toggled; mp.source = toggled ? "" : "qrc:/song.mp3" } } }
see minimal example in atatchment.
This happens even when switch with the 5, 10 seconds timeouts, and maybe longer..