<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Using Qt Designer in maya in Maya Programming Forum</title>
    <link>https://forums.autodesk.com/t5/maya-programming-forum/using-qt-designer-in-maya/m-p/10116170#M4680</link>
    <description>&lt;P&gt;You should use Pyside2 because Maya has Pyside2 built in.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;here is the document:&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.autodesk.com/view/MAYAUL/2020/ENU/?guid=__developer_Maya_SDK_MERGED_Maya_Python_API_Working_with_PySide_in_Maya_html" target="_blank" rel="noopener"&gt;https://help.autodesk.com/view/MAYAUL/2020/ENU/?guid=__developer_Maya_SDK_MERGED_Maya_Python_API_Working_with_PySide_in_Maya_html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;here are some most basic codes:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;from PySide2.QtCore import *
from PySide2.QtWidgets import *
from PySide2.QtUiTools import QUiLoader 

UI_FILE = "f:/tmp/untitled.ui"

ui_file = QFile(UI_FILE)
ui_file.open(QFile.ReadOnly)
loader = QUiLoader()
ui = loader.load(ui_file)
ui_file.close()

ui.show()&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 27 Feb 2021 04:17:20 GMT</pubDate>
    <dc:creator>g2m.agent</dc:creator>
    <dc:date>2021-02-27T04:17:20Z</dc:date>
    <item>
      <title>Using Qt Designer in maya</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/using-qt-designer-in-maya/m-p/10115209#M4679</link>
      <description>&lt;P&gt;OK, I'm confused about this.&amp;nbsp; Again.&amp;nbsp;&amp;nbsp; I think I've done this now at 4 different companies, and I am always befuddled when I start again.&lt;BR /&gt;&lt;BR /&gt;We are using maya 2020.&amp;nbsp; I am starting a new (python) code base from scratch, so I can do it in whatever is considered the "right" way RIGHT NOW.&amp;nbsp; So, working in python both inside and outside maya, I would like to using designer to create .ui files, and then read those .ui files into my python code and instantiate the ui, hopefully without having to translate the .ui to .py.&lt;BR /&gt;&lt;BR /&gt;So... Do I use Pyside2 or PyQt5?&amp;nbsp;&amp;nbsp; What are the pros and cons for either?&amp;nbsp;&amp;nbsp; Is there good simple example code for properly ingesting and instanciating a gui from a .ui file in each?&lt;BR /&gt;&lt;BR /&gt;Any other hints on techniques or problems that I'm overlooking?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and sorry for my simple-mindedness.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2021 18:34:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/using-qt-designer-in-maya/m-p/10115209#M4679</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-02-26T18:34:56Z</dc:date>
    </item>
    <item>
      <title>Re: Using Qt Designer in maya</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/using-qt-designer-in-maya/m-p/10116170#M4680</link>
      <description>&lt;P&gt;You should use Pyside2 because Maya has Pyside2 built in.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;here is the document:&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.autodesk.com/view/MAYAUL/2020/ENU/?guid=__developer_Maya_SDK_MERGED_Maya_Python_API_Working_with_PySide_in_Maya_html" target="_blank" rel="noopener"&gt;https://help.autodesk.com/view/MAYAUL/2020/ENU/?guid=__developer_Maya_SDK_MERGED_Maya_Python_API_Working_with_PySide_in_Maya_html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;here are some most basic codes:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;from PySide2.QtCore import *
from PySide2.QtWidgets import *
from PySide2.QtUiTools import QUiLoader 

UI_FILE = "f:/tmp/untitled.ui"

ui_file = QFile(UI_FILE)
ui_file.open(QFile.ReadOnly)
loader = QUiLoader()
ui = loader.load(ui_file)
ui_file.close()

ui.show()&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 27 Feb 2021 04:17:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/using-qt-designer-in-maya/m-p/10116170#M4680</guid>
      <dc:creator>g2m.agent</dc:creator>
      <dc:date>2021-02-27T04:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: Using Qt Designer in maya</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/using-qt-designer-in-maya/m-p/10122040#M4681</link>
      <description>&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 01 Mar 2021 23:20:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/using-qt-designer-in-maya/m-p/10122040#M4681</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-03-01T23:20:04Z</dc:date>
    </item>
  </channel>
</rss>

