
import os

# Prevent Qt.py importing PySide2 and PyQt5.
if not os.getenv("QT_PREFERRED_BINDING"):
    os.environ["QT_PREFERRED_BINDING"] = "PyQt4"

from _appleseedstudio import *


import os

# Prevent Qt.py importing PySide2 and PyQt5.
if not os.getenv("QT_PREFERRED_BINDING"):
    os.environ["QT_PREFERRED_BINDING"] = os.pathsep.join(["PySide", "PyQt4"])

from _appleseedstudio import *

Add PySide to as.studio init preferred binding
Add PySide to as.studio init preferred binding

  
  import os
  
  # Prevent Qt.py importing PySide2 and PyQt5.
  if not os.getenv("QT_PREFERRED_BINDING"):
-     os.environ["QT_PREFERRED_BINDING"] = "PyQt4"
+     os.environ["QT_PREFERRED_BINDING"] = os.pathsep.join(["PySide", "PyQt4"])
  
  from _appleseedstudio import *
  
Add PySide to as.studio init preferred binding
## Code Before:

import os

# Prevent Qt.py importing PySide2 and PyQt5.
if not os.getenv("QT_PREFERRED_BINDING"):
    os.environ["QT_PREFERRED_BINDING"] = "PyQt4"

from _appleseedstudio import *

## Instruction:
Add PySide to as.studio init preferred binding
## Code After:

import os

# Prevent Qt.py importing PySide2 and PyQt5.
if not os.getenv("QT_PREFERRED_BINDING"):
    os.environ["QT_PREFERRED_BINDING"] = os.pathsep.join(["PySide", "PyQt4"])

from _appleseedstudio import *
