From 4a1710762b0a53d6a35e6d0cb630b9037a853c63 Mon Sep 17 00:00:00 2001 From: "Friedrich W. H. Kossebau" Date: Wed, 16 Feb 2022 17:16:37 +0100 Subject: Remove broken Python bindings generation pyqt broke sip4 compatibility in 5.15.6, and there is no more maintainer of the KF Python bindings to fix things. Future support might need different code, so no advantage in keeping the old code around. --- src/gui/CMakeLists.txt | 23 ----------------------- 1 file changed, 23 deletions(-) (limited to 'src/gui/CMakeLists.txt') diff --git a/src/gui/CMakeLists.txt b/src/gui/CMakeLists.txt index e717c1c1..b9e82a38 100644 --- a/src/gui/CMakeLists.txt +++ b/src/gui/CMakeLists.txt @@ -54,29 +54,6 @@ ecm_generate_headers(KConfigGui_HEADERS REQUIRED_HEADERS KConfigGui_HEADERS ) -find_package(PythonModuleGeneration) - -if (PythonModuleGeneration_FOUND) - ecm_generate_python_binding( - TARGET KF5::ConfigGui - PYTHONNAMESPACE PyKF5 - MODULENAME KConfigGui - RULES_FILE "${CMAKE_SOURCE_DIR}/cmake/rules_PyKF5.py" - SIP_INCLUDES - "${CMAKE_BINARY_DIR}/src/core/sip" - SIP_DEPENDS - QtGui/QtGuimod.sip - PyKF5/KConfigCore/KConfigCoremod.sip - HEADERS - kconfiggui.h - kconfigloader.h - kconfigskeleton.h - kstandardshortcut.h - kstandardshortcutwatcher.h - kwindowconfig.h - ) -endif() - install(TARGETS KF5ConfigGui EXPORT KF5ConfigTargets ${KF5_INSTALL_TARGETS_DEFAULT_ARGS}) install(FILES -- cgit v1.2.1