Jump to content

PyQt5 in Houdini for use with python panel


ioness

Recommended Posts

Hi,

I currently have an issue when I tried to make my python panel with PyQt5. I tried at first to make it using the hutil.Qt module but I don't manage to get the connection to my database of object working ("SQLITE" driver not loaded). So I made a test outside of Houdini using python 2.7.15 and PyQt5, and it's working fine. 

After that, I tried to load PyQt5 inside of Houdini (so I copied the folder PyQt5 from my source-packages of my python 2.7.15 to the houdini python) but I get an error. I can import PyQt5 but as soon as I want to import QtCore for example, it is not working anymore with this error: the DLL failed to load.Is there something special to make PyQt5 working with Houdini?

Thanks in advance

 

Edit:

After spending more time trying to get that working, I saw that the problem is coming from hython. I am on Windows so I can't change and use my OS version which is working fine. I tried to load the module using python inside of "C:\Program Files\Side Effects Software\Houdini 16.5.476\python27" and this is working, I can get PyQt working. If I try the same thing with hython, this is not working, here is the error: DLL load failed: cannot find specified procedure 

Edited by ioness
added more details after more invastigation
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...