qt的命令很多,用到的时候到网上查,常常不能一下查到。这里记录下一些备用
1 从.ui文件生成头文件:
uic xxx.ui > xxx.h
2 moc生成
moc yourfilename.h -o moc_youfilename.cpp