From 995ee7800059e42a0444c6eac20743909e15f670 Mon Sep 17 00:00:00 2001 From: justincui Date: Wed, 22 Nov 2023 11:51:24 -0800 Subject: [PATCH] solve the blank main window issue with PyQt5 on RHEL9. According to the discussion: https://github.com/r0x0r/pywebview/discussions/1266 --- webview/platforms/qt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webview/platforms/qt.py b/webview/platforms/qt.py index 9ed19b14..0061e0a5 100755 --- a/webview/platforms/qt.py +++ b/webview/platforms/qt.py @@ -46,7 +46,7 @@ is_webengine = False renderer = 'qtwebkit' -if is_webengine and QtCore.QSysInfo.productType() in ['arch', 'manjaro', 'nixos']: +if is_webengine and QtCore.QSysInfo.productType() in ['arch', 'manjaro', 'nixos','rhel']: # I don't know why, but it's a common solution for #890 (White screen displayed) # such as: # - https://github.com/LCA-ActivityBrowser/activity-browser/pull/954/files