diff --git a/preview.py b/preview.py index acc4a62..62a700a 100644 --- a/preview.py +++ b/preview.py @@ -22,7 +22,7 @@ def __init__(self): # user local qmlview if platform.system() == 'Windows': cwd = os.path.dirname(sys.argv[0]) - self.qmlview = os.path.join(cwd, 'qmlview.exe') + self.qmlview = '"' + os.path.join(cwd, 'qmlview.exe') + '"' else: self.qmlview = './qmlview'