<?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: Converting .ui file to .py in Maya 2018 gives an error in Maya Programming Forum</title>
    <link>https://forums.autodesk.com/t5/maya-programming-forum/converting-ui-file-to-py-in-maya-2018-gives-an-error/m-p/9771866#M8165</link>
    <description>&lt;P&gt;I hope you already got the answer and if not the solution by autodesk you mentioned is for Maya 2016 and below with PySide but after Maya 2017 PySide upgraded to PySide2 so in the same solution just change second line to this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;from pyside2uic import compileUi&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 10:24:51 GMT</pubDate>
    <dc:creator>AssassinKKD</dc:creator>
    <dc:date>2020-09-28T10:24:51Z</dc:date>
    <item>
      <title>Converting .ui file to .py in Maya 2018 gives an error</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/converting-ui-file-to-py-in-maya-2018-gives-an-error/m-p/8634533#M8164</link>
      <description>&lt;P&gt;I'm looking to make UIs using Qt Designer. The issue is that I get a ui file I have to convert to a python file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Upon looking online I find this page by autodesk: &lt;A href="https://knowledge.autodesk.com/support/maya/learn-explore/caas/CloudHelp/cloudhelp/2018/ENU/Maya-Scripting/files/GUID-FAD0F6CC-15D0-4489-9372-028146B70F49-htm.html" target="_blank"&gt;https://knowledge.autodesk.com/support/maya/learn-explore/caas/CloudHelp/cloudhelp/2018/ENU/Maya-Scripting/files/GUID-FAD0F6CC-15D0-4489-9372-028146B70F49-htm.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But running the script gives the following error: no module named pysideuic.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Upon digging further, it seems it has something to do with a change from pyside to pyside2.&lt;/P&gt;
&lt;P&gt;Finally I find this article : &lt;A href="https://medium.com/@nicholasRodgers/handling-legacy-tools-in-maya-2017-pyside2-baa53e48d5a2" target="_blank"&gt;https://medium.com/@nicholasRodgers/handling-legacy-tools-in-maya-2017-pyside2-baa53e48d5a2&lt;/A&gt; which offers a script that seems to make the one given by autodesk (on the link above) to work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can I fix this any other way? Because I'm not familiar with this at all and don't know how hacky it is.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2019 13:53:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/converting-ui-file-to-py-in-maya-2018-gives-an-error/m-p/8634533#M8164</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-04T13:53:35Z</dc:date>
    </item>
    <item>
      <title>Re: Converting .ui file to .py in Maya 2018 gives an error</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/converting-ui-file-to-py-in-maya-2018-gives-an-error/m-p/9771866#M8165</link>
      <description>&lt;P&gt;I hope you already got the answer and if not the solution by autodesk you mentioned is for Maya 2016 and below with PySide but after Maya 2017 PySide upgraded to PySide2 so in the same solution just change second line to this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;from pyside2uic import compileUi&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 10:24:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/converting-ui-file-to-py-in-maya-2018-gives-an-error/m-p/9771866#M8165</guid>
      <dc:creator>AssassinKKD</dc:creator>
      <dc:date>2020-09-28T10:24:51Z</dc:date>
    </item>
  </channel>
</rss>

