search

Home  >  Q&A  >  body text

python - Qt designer无法保存ui文件

用QT designer 编辑ui界面后保存, 弹出 This file contains top level spacers. They will not be saved.Perhaps you forgot to create a layout 提示框! 要怎么处理?

PHP中文网PHP中文网2803 days ago3315

reply all(1)I'll reply

  • PHPz

    PHPz2017-04-18 10:23:38

    Like

    As mentioned here, spacer cannot be placed on the top level. If you do something like this, the above error will be reported.

    Spacer can only be placed in Layout. If you do something like this, it can be saved normally.

    reply
    0
  • Cancelreply