1. apt-get install qt5-designer
qt5-designer
2.终端下输入designer,显示:
designer: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/designer': No such file or directory
3. 把上文路径中的qt4改为qt5即可。./ 运行