Qt parent mechanism

前端 未结 3 861
悲&欢浪女
悲&欢浪女 2021-01-26 10:00

There is one QPushButton in a QWidget, click the button should open another QWidget, as coded below:

project.pro

3条回答
  •  北海茫月
    2021-01-26 10:18

    Actual Error?

    1. Makefile needs to be remade using the cmd prompt or Terminal

    2. Make sure that your destructor doesn't call itself so this change the remedy of execution.

提交回复
热议问题