We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
按wiki的方法构建动态库,在使用TToast组件时出现以下异常: qrc:/net.toou.2d/controls/TToast.qml:101: TypeError: Cannot read property of null
qrc:/net.toou.2d/controls/TToast.qml:101: TypeError: Cannot read property of null
The text was updated successfully, but these errors were encountered:
调用代码: import Toou2D 1.0 ... MouseArea{ anchors.fill: parent onClicked: { TToast.showSuccess("Hi!", TTimePreset.ShortTime2s); } } ...
import Toou2D 1.0
...
MouseArea{ anchors.fill: parent onClicked: { TToast.showSuccess("Hi!", TTimePreset.ShortTime2s); } }
Sorry, something went wrong.
你的应用现在需要初始化Toou2D运行环境。
//QML: //T2DWorld是T2D框架中最重要的配置 //即便什么也不配置那么也需要初始化Toou2D运行环境。 T2DWorld{ }
T2DWorld的父级必须是主窗体,详细用法,请参考 example / main.qml
完美解决,谢谢!
No branches or pull requests
按wiki的方法构建动态库,在使用TToast组件时出现以下异常:
qrc:/net.toou.2d/controls/TToast.qml:101: TypeError: Cannot read property of null
The text was updated successfully, but these errors were encountered: