Qt4.7:
QPixmap pixmap = QPixmap::fromWinHBITMAP(hBitmap);
Qt5.13:
#include <QtWinExtras/QtWin>
QPixmap pixmap = QtWin::fromHBITMAP(hBitmap);
Qt4.7:
toAscii()
Qt5.13:
toLatin1()
Qt4.7:
QSsl::TlsV1
Qt5.13:
QSsl::TlsV1_0
继承Object应为publice。否则报错 “类型强制转换”: 从“T *”到“QObject *”的转换存在,但无法访问
Qt4.7:
QUuid uid = QUuid::createUuid();
QString qstrUuid = QString(uid);
Qt5.13:
QUuid uid = QUuid::createUuid();
QString qstrUuid = uid.toString();
QAction 触发信号 activated() ->triggered()
QWebPage -> QWebEnginePage
Qt4.7:
QString content = ui->webView->page()->mainFrame()->toHtml();
Qt5.13
QString content;
ui-&g