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
pyqtconfig is deprecated (and unavailable on some distributions) #13
Comments
Please consider providing a pull request to migrate the code to non-deprecated API. I might not find time for this in the near future. |
For more information, refer to ros-visualization/python_qt_binding#13 and ros-visualization/python_qt_binding#15
It looks like that Ubuntu ships with 4.11 in Vivid but it does not have that problem. It is likely still build with I took a closer look to the PR and am a bit worried about all the hard coded values, especially https://github.com/ros-visualization/python_qt_binding/pull/15/files#diff-eba1f022829502c99827bbf06f688d22R25. Therefore I have create a minimal patch which makes it work for me on Vivid (forcing the The new branch |
@dirk-thomas Thanks for looking into this. Here is what I get when I build [ 71%] Generating view_controllers/moc_fps_view_controller.cxx
Scanning dependencies of target default_plugin
Traceback (most recent call last):
File "/opt/ros/indigo/share/python_qt_binding/cmake/sip_configure.py", line 115, in <module>
makefile.generate()
File "/usr/lib/python2.7/site-packages/sipconfig.py", line 1234, in generate
self.ready()
File "/usr/lib/python2.7/site-packages/sipconfig.py", line 1229, in ready
self.finalise()
File "/usr/lib/python2.7/site-packages/sipconfig.py", line 1922, in finalise
ModuleMakefile.finalise(self)
File "/usr/lib/python2.7/site-packages/sipconfig.py", line 1677, in finalise
Makefile.finalise(self)
File "/usr/lib/python2.7/site-packages/sipconfig.py", line 532, in finalise
libs.extend(self._dependent_libs(l))
File "/usr/lib/python2.7/site-packages/sipconfig.py", line 1080, in _dependent_libs
prl_name = os.path.join(self.config.qt_lib_dir, "lib" + clib + ".prl")
File "/usr/lib/python2.7/site-packages/sipconfig.py", line 191, in __getattr__
raise AttributeError("\"%s\" is not a valid configuration value or user option" % name)
AttributeError: "qt_lib_dir" is not a valid configuration value or user option
src/python_bindings/sip/CMakeFiles/librviz_sip.dir/build.make:88: recipe for target 'devel/bin/sip/rviz_sip/Makefile' failed
make[2]: *** [devel/bin/sip/rviz_sip/Makefile] Error 1
CMakeFiles/Makefile2:1989: recipe for target 'src/python_bindings/sip/CMakeFiles/librviz_sip.dir/all' failed
make[1]: *** [src/python_bindings/sip/CMakeFiles/librviz_sip.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs.... I guess this extra entry in the dictionary would solve this. Was there any particular reason for only keeping the |
Thanks for testing so quick. I only tried to build rqt on-top. I will add the entry you mentioned and try again with rviz. |
I added the extra entry (as well asthe other I will already go ahead and merge and release it to move fast for Jade. Please give it another try on Arch to ensure its working for you as well. Thank you. |
sip_configure.py
currently relies onpyqtconfig
which is deprecated sincepyqt4
4.10 (cf. the official documentation), and is likely to be removed (unlesspyqt4
was packaged with the legacy script, more information here).This was detected while trying to compile
rviz
on Arch Linux withpyqt4
4.11 (cf. ros-visualization/rviz#785), sincepyqtconfig
is no longer available (cf. this bug report).This update could go to an
indigo
branch, based on thepyqt4
versions of targeted Ubuntu distributions.The text was updated successfully, but these errors were encountered: