QWebEngineView blocking debuging
-
I use QWebEngineView for use html/js file. Its work only MSVS compiler(windows).
Note : In ubuntu and gcc, its working.class WebEngine : public QWebEngineView { Q_OBJECT public: explicit WebEngine(QWidget *parent); ~WebEngine(); };
I can't use debug profile. If I use like that :
QQuickWindow::setGraphicsApi(QSGRendererInterface::OpenGL); _webView = new WebEngine(ui->containerMap); _webView->setFixedSize(ui->containerMap->size()); _webView->page()->load(QUrl("qrc:/Resources/map/map.html")); _webView->showMaximized();
I can access the page with release profile. But If run with debug profile, I receive that error :
"[4884:1488:0221/113607.845:FATAL:gpu_client.cc(132)] Check failed: channel_handle.is_valid() == status == GpuHostImpl::EstablishChannelStatus::kSuccess (0 vs. 1)
Backtrace:
QWebEnginePage::setUrlRequestInterceptor [0x00007FFDA4043512+277757584]"If I remove this line in release;
QQuickWindow::setGraphicsApi(QSGRendererInterface::OpenGL);
I have received that error :
"The top-level window is not using OpenGL for composition, 'D3D11' is not compatible with QOpenGLWidget"
"D3D11 WARNING: ID3D11Device::CreateInputLayout: The provided input signature expects to read an element with SemanticName/Index: 'TEXCOORD'/2 and component(s) of the type 'int32'. However, the matching entry in the Input Layout declaration, element[2], specifies mismatched format: 'R16G16_UINT'. This is not an error, since behavior is well defined: The element format determines what data conversion algorithm gets applied before it shows up in a shader register. Independently, the shader input signature defines how the shader will interpret the data that has been placed in its input registers, with no change in the bits stored. It is valid for the application to reinterpret data as a different type once it is in the vertex shader, so this warning is issued just in case reinterpretation was not intended by the author. [ STATE_CREATION WARNING #391: CREATEINPUTLAYOUT_TYPE_MISMATCH]
D3D11 WARNING: ID3D11Texture2D1::SetPrivateData: Existing private data of same name with different size found! [ STATE_SETTING WARNING #55: SETPRIVATEDATA_CHANGINGPARAMS]"
"D3D11 WARNING: Process is terminating. Using simple reporting. Please call ReportLiveObjects() at runtime for standard reporting. [ STATE_CREATION WARNING #0: UNKNOWN]
D3D11 WARNING: Live Producer at 0x0000018C898CB5A0, Refcount: 45. [ STATE_CREATION WARNING #0: UNKNOWN]
D3D11 WARNING: Live Object at 0x0000018C8960CFF0, Refcount: 3. [ STATE_CREATION WARNING #0: UNKNOWN]"How can I solve that problem ?