QObject::connect: Cannot queue arguments of type 'CmdSeq'
(Make sure 'CmdSeq' is registered using qRegisterMetaType().)
(CmdSeq是我自己建立的class,無繼承任何class)
QObject::connect: Cannot queue arguments of type 'CmdSeq'
(Make sure 'CmdSeq' is registered using qRegisterMetaType().)
QString str;
QByteArray byteArray=str.toLocal8Bit ();
char *c=byteArray.data();
(char*)( ((QByteArray)str.toLocal8Bit()).data() )