First time here? Check out the FAQ!
1

introspection with Qt5?

  • retag add tags

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?

Marc A. Murison's avatar
21
Marc A. Murison
asked 2020-09-11 15:41:32 -0600
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

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.

Wingware Support's avatar
4.2k
Wingware Support
answered 2020-09-14 09:30:46 -0600
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer