Hello,
I think this might be my pycharm configuration, but I am trying to run a UI both in maya and pycharm by doing:
import sys
from PySide2.QtWidgets import QApplication, QLabel
if __name__ == "__main__":
app = QApplication(sys.argv)
label = QLabel("aight?")
label.show()
app.exec_()
else:
label = QLabel("aight?")
label.show()
When importing in maya ir works, but when testing it in pycharm I am getting the error:
app = QtWidgets.QApplication(sys.argv)
TypeError: 'NoneType' object is not callable
I have googled for a couple of hours, but I don't find a solution.
Thanks
R