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/core/CMakeLists.txt | 23 ----------------------- src/gui/CMakeLists.txt | 23 ----------------------- 2 files changed, 46 deletions(-) (limited to 'src') diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt index 7bed316b..ec1e4995 100644 --- a/src/core/CMakeLists.txt +++ b/src/core/CMakeLists.txt @@ -72,29 +72,6 @@ ecm_generate_headers(KConfigCore_HEADERS REQUIRED_HEADERS KConfigCore_HEADERS ) -find_package(PythonModuleGeneration) - -if (PythonModuleGeneration_FOUND) - ecm_generate_python_binding( - TARGET KF5::ConfigCore - PYTHONNAMESPACE PyKF5 - MODULENAME KConfigCore - RULES_FILE "${CMAKE_SOURCE_DIR}/cmake/rules_PyKF5.py" - SIP_DEPENDS - QtCore/QtCoremod.sip - HEADERS - kconfig.h - kconfigbase.h - kconfiggroup.h - kdesktopfile.h - ksharedconfig.h - kcoreconfigskeleton.h - kemailsettings.h - conversioncheck.h - kconfigwatcher.h - ) -endif() - install(TARGETS KF5ConfigCore EXPORT KF5ConfigTargets ${KF5_INSTALL_TARGETS_DEFAULT_ARGS}) install(FILES 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