Ask Your Question
1

introspection with Qt5?

asked 2020-09-11 15:41:32 -0500

Marc A. Murison gravatar image

In the editor on WingPro, I cannot get Wing to do introspection on Qt5 objects. The Source Assistant knows nothing about Qt5 symbols, which is pretty frustrating. Is there some magic that will make this work?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-09-14 09:30:46 -0500

It should work (Wing uses Qt5 via PyQt5 so we use this all the time here).

The most common cause of this is Wing picking up a different Python installation from the one that has PyQt5 installed. You can check this by comparing the value of sys.executable (after 'import sys') in the Python that you want to use with the value reported by the Source > Show Python Environment menu item. If not correct, set the Python Executable in Wing's Project Properties.

If that does not help, please submit a bug report from Wing's Help menu after replicating the problem, and include the ide.log where prompted. This will show us if there are logged unexpected errors.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2020-09-11 15:41:32 -0500

Seen: 36 times

Last updated: Sep 14