You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The reason will be displayed to describe this comment to others. Learn more.
There was nothing to fix. It simply compiled without that restriction too. However, it turned out that QT_VERSION_MAJOR was not well defined and thus python bindings were always disabled.
The reason will be displayed to describe this comment to others. Learn more.
Interesting, I get this:
/home/sis/experimente/qt6/src/python_qt_binding/cmake/sip_configure.py:2: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
from distutils.spawn import find_executable
Traceback (most recent call last):
File "/home/sis/experimente/qt6/src/python_qt_binding/cmake/sip_configure.py", line 10, in <module>
from PyQt6 import QtCore
ImportError: cannot import name 'QtCore' from 'PyQt6' (unknown location)
make[2]: *** [src/python_bindings/sip/CMakeFiles/librviz_sip.dir/build.make:108: sip/rviz_sip/Makefile] Fehler 1
make[1]: *** [CMakeFiles/Makefile2:4426: src/python_bindings/sip/CMakeFiles/librviz_sip.dir/all] Fehler 2
make[1]: *** Auf noch nicht beendete Prozesse wird gewartet …
well, looks like I locally have replaced all occurences of PyQt5 with PyQt6 in sip_configure.py which might or might not be necessary ...
71cc8ae
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I originally disabled this because there was no pyqt6 available on jammy, how did you fix that?
71cc8ae
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was nothing to fix. It simply compiled without that restriction too. However, it turned out that
QT_VERSION_MAJOR
was not well defined and thus python bindings were always disabled.71cc8ae
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interesting, I get this:
well, looks like I locally have replaced all occurences of PyQt5 with PyQt6 in
sip_configure.py
which might or might not be necessary ...Do we test if the rviz python bindings work?
71cc8ae
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think so. I'm not sure, I tested this manually. Maybe, python_qt_binding just uses Qt5, which is installed as well.