[Interest] How to unfocus inputs in Scene3D?

Midori Yakumo macrobull.acg.0 at gmail.com
Mon Jul 11 06:27:57 CEST 2016

When I exchange one Scene3D from another in QML with InputSettings + focus,
my program crashes on Linux and prompts warning of focus on Android.
No crash without InputSettings.

Is that a bug or what did I miss in my code:

Scene3D {

	id: scene

	focus: true

	aspects: ["logic", "input"]

	 	InputSettings {

		id: inputSettings

		// eventSource: scene


	signal unload

	onUnload: {

		// ... ?



in main:

Loader {

	id: loader

	onLoaded: {

		focus = true



function load(sourceName) {


	loader.source = sourceName + ".qml"


The screencast:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20160711/eb88ad9b/attachment.html>

More information about the Interest mailing list