Error appears on the pyqt5 qwebengine VR interface: Adobe flashplayer or HTML5 browser with webgl or css3d support requ
The following sentences can prevent the interface from flickering. If you add more, the image above will appear. As long as you leave other comments and the last sentence, you can solve the interface flickering and play VR video.
from PyQt5.QtCore import *
from PyQt5.QtGui import *
# QCoreApplication.setAttribute(Qt.AA_UseSoftwareOpenGL,True)
# QCoreApplication.setAttribute(Qt.AA_UseSoftwareOpenGL, True)
# QGuiApplication.setAttribute(Qt.AA_UseSoftwareOpenGL, True)
# QApplication.setAttribute(Qt.AA_UseSoftwareOpenGL, True)
QCoreApplication.setAttribute(Qt.AA_UseOpenGLES, True)
Read More:
- The SuperMap webgl browser reported an error. The unzip.wasm file 404
- error C4996: ‘inet_addr‘: Use inet_pton() or InetPton() instead or define _WINSOCK_D
- Has HTML webpack plugin been installed, or error: cannot find module ‘HTML webpack plugin’
- Question: Vue or HTML prompts “cannot red property getcontext of null” when creating canvas?
- How to center your HTML button itself? ——Use the align attribute of center or Div
- Unable to find or load master class org.codehaus.groovy.grails.cli.support
- [Vue warn]: Do not use built-in or reserved HTML elements as component id: article
- Error in installing torch vision or pilot on Linux or Jetson nano: the headers or library files could not be found for JPEG
- The reasons for the following errors occurred when opening the webgl project of unity
- The media could not be loaded, either because the server or network failed or because the format is
- Syntax Error: Error: ENOENT: no such file or directory, scandir ‘D:
- Use xx [‘xx ‘] = XX to set field value or does not support field: XXX
- 12c Instant Client Throws System Error Code 126 or 193 or 106
- Error: sudo required (or change ownership, or define N_PREFIX)
- Vscode HTML file auto supplement HTML skeleton failure
- Error 945 Database cannot be opened due to inaccessible files or insufficient memory or disk space
- In windows, “cmake” is not an internal or external command, nor a runnable program or batch file.
- JavaScript / JS native dynamic introduction of external CSS files and dynamic insertion of CSS code fragments
- Problems encountered after Maven installation or upgrade: could not find or load main class org.codehaus.plexus .class…..
- Solve syntax error: unexpected end of file or /bin/bash^m: bad interpeneter: no match file or directory