QWebview not loading
QWebview not loading
在我的Qt项目中,我有一个初始化的QWebView
,我创建它,加载一个url,然后显示它。这在一段时间前是有效的,但现在它已经停止加载了。
相关代码:
void MainWindow::activateWebView()
{
webview = new QWebView();
QUrl link("https://accounts.google.com/o/oauth2/auth?client_id=724514964748-43gb17l2laj7mg3vcj2qpfe7o6fn4ceu.apps.googleusercontent.com&redirect_uri=urn:ietf:wg:oauth:2.0:oob&scope=https://www.googleapis.com/auth/youtube&response_type=code&access_type=offline");
connect(webview, SIGNAL(loadFinished(bool)), this, SLOT(webViewloadFinished(bool)));
webview->setWindowTitle("Connecting to Google...");
connect(webview, SIGNAL(titleChanged(QString)), webview, SLOT(setWindowTitle(QString)));
webview->setMinimumSize(600, 700);
webview->setMaximumSize(600, 700);
webview->setWindowModality(Qt::WindowModal);
webview->show();
webview->load(link);
}
我想明白了。从上一次成功构建到最近一次失败构建,我都重新安装了操作系统。这显然导致了一些SSL dll出现问题。我在我的MinGW 中丢失了三个文件
- libssl32.dll
- ibeay32.dll
- ssley32.dll
我在OpenSSL的安装中找到了这些文件。我将这些文件添加到我的MinGW bin文件夹中,现在它正在工作!
相关文章:
- OpenMP卸载说'fatal error: could not find accel/nvptx-none/mkoffload'
- 使用JsonCpp将数据返回到带有pybind11的python会在python调用中产生Symbol not foun
- OpenCV Android C++ imwrite not found
- 应用程序崩溃并显示"symbol _ZdlPvm, version Qt_5 not defined in file libQt5Core.so.5 with link time reference"
- 使用单词"not"作为C ++类的名称会导致VS2019错误
- 错误"Could not find Boost"(缺少:上下文标头)
- 如何修复"error: ‘_1’ was not declared in this scope"?
- 套接字连接"Operation not permitted"错误,甚至使用升压/平发器根.cpp
- Is !NaN not a NaN?
- 为什么我会" void value not ignored as it ought to be"?
- 解决"ld: library not found for -ltensorflow_framework.2.3.0"
- 加载与引用 .NET DLL 位于同一文件夹中的引用的 .NET DLL 时"Not found"异常
- Directx 11 - CompileFromFile() is not compiling
- 方法错误"not all control paths return a value"和方法不返回值
- Centos7 g++ "to_string is not in a member of std"
- 将系数存储在头文件的数组中("does not name a type"错误)
- QGraphicsItems not showing up QGraphicsScene
- 在调试模式下引发C++ "deque iterator not dereferencable"异常
- InitializeCriticalSectionEx Not Located In KERNEL32.Dll
- QWebview not loading