1

1 #define QCN(_str) QString::fromLoacl8Bit(_str)
2 new QPushButton(QCN("中文"));
3 
4 #define CNN(sender,signalfun,recviver,slotfun)
5 CNN(pButton, clicked(), this, mySlot());    //Qt4 ??
原文地址:https://www.cnblogs.com/wangbin-heng/p/10327948.html