Skip to content

Commit 20edcac

Browse files
committed
Disable python bindings for Qt6
With PyQt6, sip runs into several issues, e.g.: sip: Parser warning: /usr/lib/python3/dist-packages/PyQt6/bindings/QtCore/qnamespace.sip:53: Annotation is unknown enum KeyboardModifier /BaseType=Flag/ sip: /usr/lib/python3/dist-packages/PyQt6/bindings/QtCore/qbytearray.sip:356: Lexical analyser error: Exactly one character expected between single quotes QByteArray toHex(char separator /Encoding="None"/ = '\x00') const;
1 parent 534f184 commit 20edcac

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/CMakeLists.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,8 @@ add_subdirectory(image_view)
33
if (CATKIN_ENABLE_TESTING)
44
add_subdirectory(test)
55
endif()
6-
add_subdirectory(python_bindings)
6+
if (${rviz_QT_VERSION} VERSION_LESS 6.0)
7+
add_subdirectory(python_bindings)
8+
else()
9+
message("Skipping python bindings as PyQt6 is not yet functional.")
10+
endif()

0 commit comments

Comments
 (0)