From 7a7441b8a3d4c247bdb6f5ab05cec2c2fb891163 Mon Sep 17 00:00:00 2001 From: falkTX Date: Mon, 26 Dec 2016 22:18:46 +0100 Subject: [PATCH] Fix startup of modguis under qt5 --- source/carla_modgui.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/carla_modgui.py b/source/carla_modgui.py index 2c8fc6420..e81cd51c0 100755 --- a/source/carla_modgui.py +++ b/source/carla_modgui.py @@ -30,7 +30,8 @@ if config_UseQt5: from PyQt5.QtCore import pyqtSlot, QPoint, QThread, QSize, QUrl from PyQt5.QtGui import QImage, QPainter, QPalette from PyQt5.QtWidgets import QMainWindow - from PyQt5.QtWebKitWidgets import QWebElement, QWebSettings, QWebView + from PyQt5.QtWebKit import QWebElement, QWebSettings + from PyQt5.QtWebKitWidgets import QWebView else: from PyQt4.QtCore import pyqtSlot, QPoint, QThread, QSize, QUrl from PyQt4.QtGui import QImage, QPainter, QPalette