user interface - Qt Creator Application Output pane Stop button: "The program has unexpectedly finished." when running a simple QML app -
in qt creator, run dummy qml app simple following:
import qtquick 2.0 item { }
go application output pane. press stop button (a tiny red square). error message appear. following log:
starting <path>/qtbase/bin/qmlscene... **the program has unexpectedly finished.** <path>/qtbase/bin/qmlscene crashed
this bit confusing or misleading, no crash has been observed. contrast, not happen when qmlscene window closed clicking close (x) button, nor happen when running qmlscene using command line on terminal.
i'm using qt 5.5.0 on linux ubuntu. appears happen other versions of qt.
was designed way, or improved? thanks!
i have dived qt creator source code. when stop
button clicked, function applicationlauncher::stop()
called. function tries kill or terminate process qmlscene
, leading above-mentioned messages.
so stop
means "kill" or "terminate" process.
it if label renamed accordingly.
Comments
Post a Comment