QT子线程 show UI
QT程序的主线程中用pthread_create创建一子线程;子线程中要show一张图片。由于子线程不允许UI显示。
怎么写connect(?, func, this func);
QAaa::QAaa(QObject *parent) :
QTcpServer(parent)
{
.....
pthread_create(&this->play, &attr, aThread, this);
connect(? , SIGNAL(show(const QString &)), this, SLOT(show(const QString &)));
} QT UI 子线程 --------------------编程问答-------------------- 用QThread --------------------编程问答-------------------- 同上,在主线程中和QThread对象connect
补充:移动开发 , Qt