16,225
社区成员
发帖
与我相关
我的任务
分享
void
CustomCefView::onQCefUrlRequest(const QString& url)
{
QString title("QCef Url Request");
QString text = QString("Current Thread: QT_UI\r\n"
"Url: %1")
.arg(url);
QMetaObject::invokeMethod(this, [=]() {
QMessageBox::information(this->window(), title, text);
}, Qt::QueuedConnection);
}