--- a/eric7/UI/Previewers/PreviewerQSS.py Wed Dec 29 17:54:06 2021 +0100 +++ b/eric7/UI/Previewers/PreviewerQSS.py Wed Dec 29 19:40:16 2021 +0100 @@ -20,6 +20,7 @@ from .Ui_PreviewerQSS import Ui_PreviewerQSS import Preferences +import Utilities import UI.PixmapCache from eric7config import getConfig @@ -123,7 +124,9 @@ # icons directory styleIconsPath = os.path.join( getConfig('ericIconDir'), "StyleIcons") - + + styleIconsPath = Utilities.fromNativeSeparators( + styleIconsPath) styleSheet = styleSheet.replace("${path}", styleIconsPath) self.scrollAreaWidgetContents.setStyleSheet(styleSheet) else: