EButton源码: transform: Scale { id: scale origin.x: root.width / 2 origin.y: root.height / 2 } ...... 上面id命名scale有问题,qtcreator中的qds会提示Line: 40: This id might be ambiguous and is not supported in Qt Design Studio. (M209) 导致没办法实时预览,运行没有问题