automoblie0 |
2020-05-28 11:12 |
你好,我这个已经加过了。。还是之前的问题。。
- QString htmlPath = QCoreApplication::applicationDirPath() + "/GoogleMapAPI3/test111.html";
qDebug() << htmlPath << endl; WebEnginePage->load(QUrl("file:///"+htmlPath)); WebEnginePage->setWebChannel(WebChannel); ui->WebEngineView->setPage(WebEnginePage);
|
|