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
自定义控件手动用scons编译就不会,但是用designer加载之后然后重编项目就会报错,我自定义控件和项目都是用的github上的awtk来编译,非designer内置,不知道awtk designer内部加载是不是写死了。
repro控件: awtk-widget-custom-widget.zip
repro方法: 1.designer上新建项目并加载custom_widget控件,确保项目和控件使用的都是github的awtk 2.项目编译脚本run.ps1
python ./scripts/update_res.py all scons bin/demo.exe
3.运行run.ps1,窗口在启动一段时候自动关闭,日志显示binding_context_clear_bindings_of_widget:338 condition(ctx != NULL && ctx->vt != NULL && widget != NULL) failed!
binding_context_clear_bindings_of_widget:338 condition(ctx != NULL && ctx->vt != NULL && widget != NULL) failed!
The text was updated successfully, but these errors were encountered:
怀疑是不是自定义控件和项目用了不同的sdk加载,因为之前发现自定义控件默认用的designer内置sdk, 然后项目用github的awtk sdk, 结果编译同样报binding_context_clear_bindings_of_widget。之前怀疑designer就是用的内置sdk加载,然后改了自定义控件的project.json的awtk路径然后在designer加载复现,也是报binding_context_clear_bindings_of_widget,不知道是不是写死了。
Sorry, something went wrong.
designer的问题,你在群里问吧。designer组的同事一般不会看github。
No branches or pull requests
自定义控件手动用scons编译就不会,但是用designer加载之后然后重编项目就会报错,我自定义控件和项目都是用的github上的awtk来编译,非designer内置,不知道awtk designer内部加载是不是写死了。
repro控件:
awtk-widget-custom-widget.zip
repro方法:
1.designer上新建项目并加载custom_widget控件,确保项目和控件使用的都是github的awtk
2.项目编译脚本run.ps1
3.运行run.ps1,窗口在启动一段时候自动关闭,日志显示
binding_context_clear_bindings_of_widget:338 condition(ctx != NULL && ctx->vt != NULL && widget != NULL) failed!
The text was updated successfully, but these errors were encountered: