O QML3D não é mais desenvolvido e, portanto, não é suportado pelo Ubuntu Touch.
Eu tenho tentado desenvolver algo no QML3D e, embora meu aplicativo esteja funcionando bem no desktop, não consigo trabalhar no meu tablet (por exemplo, cilindro Qt3D do centro de software - link - está funcionando muito bem).
Cheguei ao aplicativo mais fácil, tendo apenas a janela de visualização emplty, mas ela ainda falha no meu tablet. Aqui está o código:
import QtQuick 2.0
import Qt3D 2.0
import Ubuntu.Components 1.1
/*!
\brief MainView with a Label and Button elements.
*/
MainView {
// objectName for functional testing purposes (autopilot-qt5)
objectName: "mainView"
// Note! applicationName needs to match the "name" field of the click manifest
applicationName: "com.ubuntu.developer.zubozrout.3d-car"
/*
This property enables the application to change orientation
when the device is rotated. The default is false.
*/
automaticOrientation: true
// Removes the old toolbar and enables new features of the new header.
useDeprecatedToolbar: false
width: units.gu(100)
height: units.gu(75)
Page {
title: i18n.tr("Simple")
Viewport {
id: viewport
width: 100
height: 100
fillColor: "#8bd"
}
}
}
Alguém tem alguma idéia de por que ele trava por favor? Toda vez que tento executá-lo no meu tablet, aparece uma tela de carregamento preta e, em seguida, ele me leva de volta à minha tela inicial. Muito obrigado pela sua ajuda.
O QML3D não é mais desenvolvido e, portanto, não é suportado pelo Ubuntu Touch.