--- a/Debugger/DebuggerInterfacePython.py Sun Jun 29 14:00:30 2014 +0200 +++ b/Debugger/DebuggerInterfacePython.py Sun Jun 29 20:13:56 2014 +0200 @@ -13,8 +13,9 @@ import os import re -from PyQt4.QtCore import QObject, QTextCodec, QProcess, QTimer -from PyQt4.QtGui import QInputDialog +from PyQt5.QtCore import QObject, QTextCodec, QProcess, QProcessEnvironment, \ + QTimer +from PyQt5.QtWidgets import QInputDialog from E5Gui.E5Application import e5App from E5Gui import E5MessageBox @@ -132,10 +133,10 @@ """ proc = QProcess() if environment is not None: - env = [] + env = QProcessEnvironment() for key, value in list(environment.items()): - env.append("{0}={1}".format(key, value)) - proc.setEnvironment(env) + env.insert(key, value) + proc.setProcessEnvironment(env) args = [] for arg in arguments: args.append(arg)