Warning--The-name-'layoutWidget'-(QWidget)-is-already-in-use,-defaulti

解决的办法是:
Open the .ui file using a text editor (not Qt Designer) and do a search for "layoutWidget". You should find it twice. Change the name of one to something unique, and the warning will go away.
需要修改为不同的值。如layoutWidget1 layoutWidget2……

上一篇:python函数


下一篇:深入浅出Java锁(一)