diff --git a/pyqode/core/widgets/prompt_line_edit.py b/pyqode/core/widgets/prompt_line_edit.py
index <HASH>..<HASH> 100644
--- a/pyqode/core/widgets/prompt_line_edit.py
+++ b/pyqode/core/widgets/prompt_line_edit.py
@@ -56,6 +56,9 @@ class PromptLineEdit(QtWidgets.QLineEdit):
             if os.environ['QT_API'].lower() == 'pyqt4':
                 from PyQt4.QtGui import QStyleOptionFrameV3
                 option = QStyleOptionFrameV3()
+            elif os.environ['QT_API'].lower() == 'pyside':
+                from PySide.QtGui import QStyleOptionFrameV3
+                option = QStyleOptionFrameV3()
             else:
                 from PyQt5.QtWidgets import QStyleOptionFrame
                 option = QStyleOptionFrame()
PromptLineEdit: fix bug with pyside

pyside style option was not supported, now it works fine!