It means that inside the .ui XML file, the element named "layoutWidget" has already been used It means that inside the .ui XML file, the element named "layoutWidget" has already been used somewhere, and the moc compiler is complaining about that, and telling you that it is changing the name to make it unique.
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.
转载于:https://blog.51cto.com/subkiller/950212