-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
qt gui fails on recent OS X homebrew due to outdated pyqt #47
Comments
@wjwwood making you aware of this. I didn't immediately succeed in building PyQt 11.0 (see the linked homebrew issue), but I also didn't look into it deeply. |
This is what I get when I run it without PyQt installed:
|
In particular this also means that |
Just to clarify, there are 4 ways how rqt plugins run: when running rqt with PyQt (preferred):
when running rqt with PySide: (you can force the binding using the option "-b pyside" or "-b pyqt") You are trying to run rqt_image_view which is a C++ plugin. Then you tried running it without PyQt (using PySide) therefore testing case 4), which failed because of the missing libqt_gui_cpp_shiboken. Lastly you tried running just rqt_gui (still using PySide?) therefore testing case 3). |
Thanks for the clarification. This helps a lot. Your analysis seems to be spot on.
|
So shiboken is not being built because it is version 1.2.2 and the CMakeLists.txt checks for that.
Is this still the state of affairs? Is there a fix? Do we need custom pyside/shiboken 1.2.1 homebrew formulae? EDIT: last working version without this issue seems ot be 1.1.1 |
It might be that 1.2.2 is not affected any more; @dirk-thomas any thoughts as the original reporter of this issue over at https://bugreports.qt-project.org/browse/PYSIDE-218? |
Since I don't see any part of it having changed I would expect that the problem still exists. Could someone try it on Ubuntu to confirm that? |
@dirk-thomas: Do interpret three green |
Yes, that seems to be working for you then. On Ubuntu Trusty you get 1.2.1 and with that one I still get a segfault. I guess we should try the Utopic package (which is 1.2.2) and see if it is also fixed for that. If yes we could reenable it for version numbers >= then 1.2.2. |
Sadly the Utopic packages do not resolve the problem on Ubuntu. The test still segfaults for me. |
Apart from not being built because of the shiboken version check, there is another issue with shiboken, namely that the code looking for With a manual |
@dirk-thomas: Could the difference for your testing module with 1.2.2 on OS X / Utopic be related to boost / qt version, or the compiler? |
I got pyqt 4.11.1 to compile on OS X (see Homebrew/legacy-homebrew#30881), given that, I guess we can ignore the sheboken issues. |
I tried the Ubuntu package from saucy providing the shiboken compiler which segfaults for me. Yes it could also be related to the boost version. But when I tried it last I think an older version of shiboken worked fine on the same system. |
PyQt 4.11.1 has been released into homebrew. I guess we can close this and ignore shiboken, as it seems to be quite broken anyway. |
Thanks for fixing PyQt on OS X. |
From here http://answers.ros.org/question/186630/indigo-rqt_image_view-depends-on-build_isolated/?answer=186648#post-id-186648:
It seems like
python_qt_binding
generates sip modules for API v11.0, but on OSX/Homebrew PyQt is version 10.My (not yet successful) attempt to update the pyqt formula to 11.0: Homebrew/legacy-homebrew#30881
The text was updated successfully, but these errors were encountered: