WPS电子表格开发com插件,qt画面在版本12下显示白板
这个是在wps12下qt ui渲染日志
Debug: QWindowsContext::setProcessDpiAwareness 2
Warning: SetProcessDpiAwareness(2) failed: COM error 0x80070005 E_ACCESSDENIED (Unknown error 0x080070005), using 1
Debug: QWindowsIntegrationPrivate::QWindowsIntegrationPrivate DpiAwareness= 2 effective process DPI awareness= 1
Debug: QWindowsContext::registerWindowClass "QtPowerDummyWindow" style=0x0 brush=0x0 icon=false atom=50056
Critical: QApplication::regClass: Registering window class 'Qt5ClipboardView' failed. (类已存在。)
Debug: QWindowsContext::registerWindowClass "Qt5ClipboardView" style=0x0 brush=0x0 icon=false atom=0
Debug: QWindowsClipboard::registerViewer m_clipboardViewer: 0x1350c9e format listener: true next: 0x0
Debug: New Monitor: Screen "\\.\DISPLAY337" 1600x900+0+0 avail: 1600x852+0+0 physical: 432x240 DPI: 96x96 Depth: 32 Format: QImage::Format_RGB32 hMonitor: 0x10001 primary virtual desktop
Debug: QWindowsFontDatabase::systemDefaultFont QFont(SimSun,9,-1,5,50,0,0,0,0,0)
Debug: QWindowsTheme::refreshIconPixmapSizes (QSize(16, 16), QSize(32, 32), QSize(48, 48), QSize(256, 256))
Critical: QApplication::regClass: Registering window class 'Qt5QWindowIcon' failed. (类已存在。)
Debug: QWindowsContext::registerWindowClass "Qt5QWindowIcon" style=0x8 brush=0x100074 icon=true atom=0
Debug: QWindowsGeometryHint::frameOnPrimaryScreen style=0x86cf0000 exStyle=0x0 RECT(left=-8, top=-31, right=8, bottom=8 (16x39)) QMargins(8, 31, 8, 8)
在wps2019下显示正常,对于的qt ui渲染日志如下:
Debug: QWindowsContext::setProcessDpiAwareness 2
Warning: SetProcessDpiAwareness(2) failed: COM error 0x80070005 E_ACCESSDENIED (Unknown error 0x080070005), using 1
Debug: QWindowsIntegrationPrivate::QWindowsIntegrationPrivate DpiAwareness= 2 effective process DPI awareness= 1
Debug: QWindowsContext::registerWindowClass "QtPowerDummyWindow" style=0x0 brush=0x0 icon=false atom=49756
Debug: QWindowsContext::registerWindowClass "Qt5ClipboardView" style=0x0 brush=0x0 icon=false atom=49929
Debug: QWindowsClipboard::registerViewer m_clipboardViewer: 0x12b08e4 format listener: true next: 0x0
Debug: New Monitor: Screen "\\.\DISPLAY1" 1600x900+0+0 avail: 1600x860+0+0 physical: 432x240 DPI: 96x96 Depth: 32 Format: QImage::Format_RGB32 hMonitor: 0x10001 primary virtual desktop
Debug: New Monitor: Screen "\\.\DISPLAY2" 1920x1080+1600+-114 avail: 1920x1040+1600+-114 physical: 435x239 DPI: 96x96 Depth: 32 Format: QImage::Format_RGB32 hMonitor: 0x10003 virtual desktop
Debug: QWindowsFontDatabase::systemDefaultFont QFont(SimSun,9,-1,5,50,0,0,0,0,0)
Debug: QWindowsTheme::refreshIconPixmapSizes (QSize(16, 16), QSize(32, 32), QSize(48, 48), QSize(256, 256))
Debug: QWindowsContext::registerWindowClass "Qt5QWindowIcon" style=0x8 brush=0x1000a9 icon=true atom=49674
Debug: QWindowsGeometryHint::frame style=0x86cf0000 exStyle=0x0 dpi=96 RECT(left=-8, top=-31, right=8, bottom=8 (16x39)) QMargins(8, 31, 8, 8)
@金山办公
@金山办公