使用Clion+Qt开发GUI程序,有时候会用到Qt带的GUI绘制工具,将工具添加到Clion的External Tools中可以很方便的打开.ui格式文件,并进行编辑。
添加步骤:File->Settings->Tools->External tools,'+'添加并编辑
现在,在Clion的Tools->External tools选项中就可以看到Qt Designer了。
使用步骤:选中.ui文件->右键->External tools->Qt Designer,搞定。
_________________________________________________________________________________________________________________________________________________
每一个不曾起舞的日子,都是对生命的辜负。
But it is the same with man as with the tree. The more he seeks to rise into the height and light, the more vigorously do his roots struggle earthward, downward, into the dark, the deep - into evil.
其实人跟树是一样的,越是向往高处的阳光,它的根就越要伸向黑暗的地底。----尼采