Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Problems with QWebEngineView
Forum Updated to NodeBB v4.3 + New Features

Problems with QWebEngineView

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 1.2k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    euchkatzl
    wrote on 22 Nov 2016, 06:56 last edited by
    #1

    We just released our Software with qt 5.6.1 (updated from qt 5.3.2).
    Therefore i changed all referenced from the old QWebView to QWebEngineView.

    The Release was about 4 weeks ago and we have so many Problems on Windows Machines (on OSX everything works fine).
    We have a 64 and a 32 Bit Application.

    We just load a very simple Website (http://liberty.pdf-to-book.ch/updates/newspage/newspage_de.html) and the application crashes immediately when doing this. All Crashes seem to belong to opengl stuff.

    This does not happen on every Windows Machine and it depends on the architecture.
    Most of the Windows Systems had an Intel HD R Graphics Card.
    The following List will lead to such crashes (on Windows 10) :

    Intel(R) HD Graphics 4400
    Intel(R) HD Graphics 5500
    AMD Radeon HD 7400M Series
    Intel(R) HD Graphics 3000
        --> works with 32 Bit
    NVidia GeForce GTX 745
        --> works with 32 Bit
    

    My first attempt was to deactivate OpenGl Support with QGuiApplication::setAttribute(Qt::AA_UseSoftwareOpenGL).
    This solved a few Problems on Windows 7.
    Then we encountered that this leads to crashes on modern systems (Win 10 etc.).

    So i replaced the openglsw.dll shipped with qt with a newer version. (http://download.qt.io/development_releases/prebuilt/llvmpipe/windows/).
    This solved more Problems but there are still a few.

    My last Problems was with an Geforce GTX 745. Our 64 Bit Application did not run at all.

    • Not with openglsw (shipped with qt)
    • Not with openglsw (mesa 11)
    • Not with openglsw (mesa 12)
    • Not with normal opengl settings
    • Not with opengl es

    The 32 Bit Application runs on that system with the mesa 11 openglsw.dll.

    Here are as much Informations about this System i could get

    00000049	108.40708923	[39228] qt.qpa.gl: QWindowsIntegration::createPlatformOpenGLContext QSurfaceFormat(version 2.0, options QFlags(), depthBufferSize -1, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior 0, swapInterval 1, profile  0)	
    00000050	109.65222931	[39228] qt.qpa.gl: Basic wglCreateContext gives version 4.5	
    00000051	109.66969299	[39228] qt.qpa.gl: OpenGL 2.0 entry points available	
    00000052	109.67546082	[39228] qt.qpa.gl: GPU features: QSet()	
    00000053	109.67563629	[39228] qt.qpa.gl: QWindowsOpenGLTester::supportedRenderers GpuDescription(vendorId=0x10de, deviceId=0x1382, subSysId=0x6893103c, revision=162, driver: "nvd3dumx.dll", version=21.21.13.6909, "NVIDIA GeForce GTX 745") renderer:  QFlags(0x1|0x2|0x4|0x8|0x20)	
    00000054	109.67571259	[39228] qt.qpa.gl: Qt: Using WGL and OpenGL from "opengl32.dll"	
    00000055	109.70523071	[39228] qt.qpa.gl: QOpenGLStaticContext::create OpenGL: "NVIDIA Corporation","GeForce GTX 745/PCIe/SSE2" default ContextFormat: v4.5 profile: 0 options: QFlags(0x4),SampleBuffers, Extension-API present	
    00000056	109.70523071	[39228] Extensions: 329	
    00000057	109.72369385	[39228] qt.qpa.gl: "ARB::choosePixelFormat  Attributes:  0x2003 , 0x2027 , 0x2010 , 0x1 , 0x2001 , 0x1 , 0x2014 , 0x18 , 0x2011 , 0x1 , 0x2013 , 0x202b , 0x201b , 0x8 , 0x2023 , 0x8 , 0x2041 , 0x0 , \n    obtained px # 10  of  2 \n     PIXELFORMATDESCRIPTOR dwFlags=0x8225 PFD_DRAW_TO_WINDOW PFD_SUPPORT_OPENGL PFD_SUPPORT_COMPOSITION PFD_DOUBLEBUFFER iPixelType=0 cColorBits=32 cRedBits=8 cRedShift=16 cGreenBits=8 cGreenShift=8 cBlueBits=8 cBlueShift=0 cDepthBits=24 cStencilBits=8 cAuxBuffers=4 iLayerType=0 cAlphaBits=8 cAlphaShift=24 cAccumBits=64 cAccumRedBits=16 cAccumGreenBits=16 cAccumBlueBits=16 cAccumAlphaBits=16 "	
    00000058	109.72430420	[39228] qt.qpa.gl: ARB::createContext Creating context version 2 . 0 3 attributes	
    00000059	109.73368073	[39228] qt.qpa.gl: QWindowsGLContext::QWindowsGLContext 0x2b7c5d001a0 ARB  requested:  QSurfaceFormat(version 2.0, options QFlags(), depthBufferSize -1, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior 0, swapInterval 1, profile  0) 	
    00000060	109.73368073	[39228]     obtained # 10 ARB QSurfaceFormat(version 4.5, options QFlags(0x4), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 8, samples 0, swapBehavior 2, swapInterval 1, profile  2) 	
    00000061	109.73368073	[39228]      PIXELFORMATDESCRIPTOR dwFlags=0x8225 PFD_DRAW_TO_WINDOW PFD_SUPPORT_OPENGL PFD_SUPPORT_COMPOSITION PFD_DOUBLEBUFFER iPixelType=0 cColorBits=32 cRedBits=8 cRedShift=16 cGreenBits=8 cGreenShift=8 cBlueBits=8 cBlueShift=0 cDepthBits=24 cStencilBits=8 cAuxBuffers=4 iLayerType=0 cAlphaBits=8 cAlphaShift=24 cAccumBits=64 cAccumRedBits=16 cAccumGreenBits=16 cAccumBlueBits=16 cAccumAlphaBits=16  swap interval:  1 	
    00000062	109.73368073	[39228]     default:  ContextFormat: v4.5 profile: 0 options: QFlags(0x4) 	
    00000063	109.73368073	[39228]     HGLRC= 0x30000	
    
    00000004	4.98243618	[41340] qt.qpa.gl: QWindowsIntegration::createPlatformOpenGLContext QSurfaceFormat(version 2.0, options QFlags(), depthBufferSize -1, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior 0, swapInterval 1, profile  0)	
    00000005	4.98260593	[41340] qt.qpa.gl: Qt: Using WGL and OpenGL from "opengl32sw.dll"	
    00000006	6.66124725	[41340] qt.qpa.gl: QOpenGLStaticContext::create OpenGL: "VMware, Inc.","Gallium 0.4 on llvmpipe (LLVM 3.6, 256 bits)" default ContextFormat: v3.0 profile: 0 options: QFlags(0x4),SampleBuffers, Extension-API present	
    00000007	6.66124725	[41340] Extensions: 204	
    00000008	6.66622257	[41340] qt.qpa.gl: "ARB::choosePixelFormat  Attributes:  0x2003 , 0x2027 , 0x2010 , 0x1 , 0x2001 , 0x1 , 0x2014 , 0x18 , 0x2011 , 0x1 , 0x2013 , 0x202b , 0x201b , 0x8 , 0x2023 , 0x8 , 0x2041 , 0x0 , \n    obtained px # 45  of  1 \n     PIXELFORMATDESCRIPTOR dwFlags=0x8205 PFD_DRAW_TO_WINDOW PFD_SUPPORT_COMPOSITION PFD_DOUBLEBUFFER iPixelType=0 cColorBits=32 cRedBits=8 cRedShift=16 cGreenBits=8 cGreenShift=8 cBlueBits=8 cBlueShift=0 cDepthBits=24 cStencilBits=8 cAuxBuffers=4 iLayerType=0 cAccumBits=64 cAccumRedBits=16 cAccumGreenBits=16 cAccumBlueBits=16 cAccumAlphaBits=16 "	
    00000009	6.66656542	[41340] qt.qpa.gl: ARB::createContext Creating context version 2 . 0 3 attributes	
    00000010	6.69325733	[41340] qt.qpa.gl: QWindowsGLContext::QWindowsGLContext 0x1abf5e1ec50 ARB  requested:  QSurfaceFormat(version 2.0, options QFlags(), depthBufferSize -1, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior 0, swapInterval 1, profile  0) 	
    00000011	6.69325733	[41340]     obtained # 45 ARB QSurfaceFormat(version 3.0, options QFlags(0x4), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 8, samples 0, swapBehavior 2, swapInterval 1, profile  0) 	
    00000012	6.69325733	[41340]      PIXELFORMATDESCRIPTOR dwFlags=0x8205 PFD_DRAW_TO_WINDOW PFD_SUPPORT_COMPOSITION PFD_DOUBLEBUFFER iPixelType=0 cColorBits=32 cRedBits=8 cRedShift=16 cGreenBits=8 cGreenShift=8 cBlueBits=8 cBlueShift=0 cDepthBits=24 cStencilBits=8 cAuxBuffers=4 iLayerType=0 cAccumBits=64 cAccumRedBits=16 cAccumGreenBits=16 cAccumBlueBits=16 cAccumAlphaBits=16  swap interval:  0 	
    00000013	6.69325733	[41340]     default:  ContextFormat: v3.0 profile: 0 options: QFlags(0x4) 	
    00000014	6.69325733	[41340]     HGLRC= 0x1	
    
    Qt 5.6.1 (i386-little_endian-ilp32 shared (dynamic) release build; by MSVC 2015) on "windows" 
    OS: Windows 10 [winnt version 10.0.14393]
    
    Architecture: x86_64; features: SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX AVX2
    
    Environment:
      QSQ_INFO="1"
      QT_LOGGING_RULES="qt.qpa.gl=true"
    
    Features: QT_NO_EXCEPTIONS
    
    Library info:
      PrefixPath: C:\Program Files (x86)\Bookfactory
      DocumentationPath: C:\Program Files (x86)\Bookfactory\doc
      HeadersPath: C:\Program Files (x86)\Bookfactory\include
      LibrariesPath: C:\Program Files (x86)\Bookfactory\lib
      LibraryExecutablesPath: C:\Program Files (x86)\Bookfactory\bin
      BinariesPath: C:\Program Files (x86)\Bookfactory\bin
      PluginsPath: C:\Program Files (x86)\Bookfactory\plugins
      ImportsPath: C:\Program Files (x86)\Bookfactory\imports
      Qml2ImportsPath: C:\Program Files (x86)\Bookfactory\qml
      ArchDataPath: C:\Program Files (x86)\Bookfactory
      DataPath: C:\Program Files (x86)\Bookfactory
      TranslationsPath: C:\Program Files (x86)\Bookfactory\translations
      ExamplesPath: C:\Program Files (x86)\Bookfactory\examples
      TestsPath: C:\Program Files (x86)\Bookfactory\tests
      SettingsPath: 
    
    Standard paths [*...* denote writable entry]:
      DesktopLocation: "Desktop" *C:\Users\kohler\Desktop*
      DocumentsLocation: "Documents" *C:\Users\kohler\Documents*
      FontsLocation: "Fonts" *C:\WINDOWS\Fonts*
      ApplicationsLocation: "Applications" *C:\Users\kohler\AppData\Roaming\Microsoft\Windows\Start Menu\Programs*
      MusicLocation: "Music" *C:\Users\kohler\Music*
      MoviesLocation: "Movies" *C:\Users\kohler\Videos*
      PicturesLocation: "Pictures" *C:\Users\kohler\Pictures*
      TempLocation: "Temporary Directory" *C:\Users\kohler\AppData\Local\Temp*
      HomeLocation: "Home" *C:\Users\kohler*
      AppLocalDataLocation: "Application Data" *C:\Users\kohler\AppData\Local\QtProject\qtdiag* C:\ProgramData\QtProject\qtdiag C:\Program Files (x86)\Bookfactory C:\Program Files (x86)\Bookfactory\data
      CacheLocation: "Cache" *C:\Users\kohler\AppData\Local\QtProject\qtdiag\cache*
      GenericDataLocation: "Shared Data" *C:\Users\kohler\AppData\Local* C:\ProgramData C:\Program Files (x86)\Bookfactory C:\Program Files (x86)\Bookfactory\data
      RuntimeLocation: "Runtime" *C:\Users\kohler*
      ConfigLocation: "Configuration" *C:\Users\kohler\AppData\Local\QtProject\qtdiag* C:\ProgramData\QtProject\qtdiag C:\Program Files (x86)\Bookfactory C:\Program Files (x86)\Bookfactory\data
      DownloadLocation: "Download" *C:\Users\kohler\Downloads*
      GenericCacheLocation: "Shared Cache" *C:\Users\kohler\AppData\Local\cache*
      GenericConfigLocation: "Shared Configuration" *C:\Users\kohler\AppData\Local* C:\ProgramData C:\Program Files (x86)\Bookfactory C:\Program Files (x86)\Bookfactory\data
      AppDataLocation: "Application Data" *C:\Users\kohler\AppData\Roaming\QtProject\qtdiag* C:\ProgramData\QtProject\qtdiag C:\Program Files (x86)\Bookfactory C:\Program Files (x86)\Bookfactory\data
      AppConfigLocation: "Application Configuration" *C:\Users\kohler\AppData\Local\QtProject\qtdiag* C:\ProgramData\QtProject\qtdiag C:\Program Files (x86)\Bookfactory C:\Program Files (x86)\Bookfactory\data
    
    File selectors (increasing order of precedence):
      de_CH windows winnt
    
    Network:
      Using "OpenSSL 1.0.2d 9 Jul 2015", version: 0x1000204f
    
    Platform capabilities: ThreadedPixmaps OpenGL ThreadedOpenGL WindowMasks MultipleWindows ForeignWindows NonFullScreenWindows NativeWidgets WindowManagement RasterGLSurface AllGLFunctionsQueryable SwitchableWidgetComposition
    
    Style hints:
      mouseDoubleClickInterval: 500
      mousePressAndHoldInterval: 800
      startDragDistance: 10
      startDragTime: 500
      startDragVelocity: 0
      keyboardInputInterval: 400
      keyboardAutoRepeatRate: 32
      cursorFlashTime: 1060
      showIsFullScreen: 0
      showIsMaximized: 0
      passwordMaskDelay: 0
      passwordMaskCharacter: U+25CF
      fontSmoothingGamma: 1.2
      useRtlExtensions: 0
      setFocusOnTouchRelease: 0
      tabFocusBehavior: Qt::TabFocusBehavior(TabFocusAllControls) 
      singleClickActivation: 0
    
    Additional style hints (QPlatformIntegration):
      ReplayMousePressOutsidePopup: 1
    
    Theme:
      Available    : windows
      Styles       : WindowsVista,WindowsXP,Windows
      System font  : "MS Shell Dlg 2" 8
      Native file dialog
    
    Fonts:
      General font : "MS Shell Dlg 2" 8
      Fixed font   : "Courier New" 9
      Title font   : "MS Shell Dlg 2" 8
      Smallest font: "MS Shell Dlg 2" 8
    
    Palette:
      WindowText: #ff000000
      Button: #fff0f0f0
      Light: #ffffffff
      Midlight: #ffe3e3e3
      Dark: #ffa0a0a0
      Mid: #ffa0a0a0
      Text: #ff000000
      BrightText: #ffffffff
      ButtonText: #ff000000
      Base: #ffffffff
      Window: #fff0f0f0
      Shadow: #ff696969
      Highlight: #ff3399ff
      HighlightedText: #ffffffff
      Link: #ff0000ff
      LinkVisited: #ffff00ff
      AlternateBase: #ffe9e7e3
      NoRole: #ff000000
      ToolTipBase: #ffffffdc
      ToolTipText: #ff000000
    
    Screens: 1, High DPI scaling: inactive
    # 0 "\\.\DISPLAY1" Depth: 32 Primary: yes
      Geometry: 1920x1200+0+0 Available: 1920x1170+0+0
      Physical size: 518x324 mm  Refresh: 59 Hz Power state: 0
      Physical DPI: 94.1467,94.0741 Logical DPI: 96,96 Subpixel_None
      DevicePixelRatio: 1 Pixel density: 1
      Primary orientation: 2 Orientation: 2 Native orientation: 0 OrientationUpdateMask: 0
    
    Dynamic GL LibGL Vendor: NVIDIA Corporation
    Renderer: GeForce GTX 745/PCIe/SSE2
    Version: 4.5.0 NVIDIA 369.09
    Shading language: 4.50 NVIDIA
    Format: Version: 4.5 Profile: 2 Swap behavior: 2 Buffer size (RGBA): 8,8,8,8 Depth buffer: 24 Stencil buffer: 8
    
    
    GPU:
             Card name: NVIDIA GeForce GTX 745
           Driver Name: nvd3dum.dll
        Driver Version: 21.21.13.6909
             Vendor ID: 0x10DE
             Device ID: 0x1382
             SubSys ID: 0x6893103C
           Revision ID: 0x00A2
    

    Has anybody experience with such Problems or tips i can try ?

    1 Reply Last reply
    0

    1/1

    22 Nov 2016, 06:56

    • Login

    • Login or register to search.
    1 out of 1
    • First post
      1/1
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved