Details
Description
from PySide6.QtCore import QOperatingSystemVersion
def getOSInfo() -> None:
currentOS = QOperatingSystemVersion.current()
print(currentOS.type())
# print OSType.Windows
print(currentOS.type() == QOperatingSystemVersion.OSType.Windows)
# Expectation is true but result is false
if _name_ == "_main_":
getOSInfo()