[Kde-bindings] Update on PyKF5 bindings

Luca Giambonini gluca86 at gmail.com
Sat May 21 23:01:33 UTC 2016


In data sabato, 21 maggio 2016 10:17:09 CEST, Stephen Kelly ha scritto:
> Do you have
> 
>  python-clang-3.9 libclang-3.9 sip-dev pyqt5-dev python-pyqt5
> 
> ?

Yes I have all of them installed (I'm on Chakra).
Just for test I removed the line:

if (NOT Qt5Core_VERSION_MINOR OR NOT Qt5Core_VERSION_PATCH)
  report_NOT_FOUND("Qt 5 must be found before finding $
{CMAKE_FIND_PACKAGE_NAME}.")
endif()

from the extra-cmake-modules/find-modules/FindPythonModuleGeneration.cmake 
file, and now the error is:
CMake Error at find-modules/FindPythonModuleGeneration.cmake:94 (message): 
 PyQt module does not support Qt version 6.0 for the PythonModuleGeneration 
 Module.

my SIP Qt5core file is located here:
/usr/share/sip/PyQt5/QtCore/QtCoremod.sip

and this is my timeline line:
%Timeline {Qt_5_0_0 Qt_5_0_1 Qt_5_0_2 Qt_5_1_0 Qt_5_1_1 Qt_5_2_0 Qt_5_2_1 
Qt_5_3_0 Qt_5_3_1 Qt_5_3_2 Qt_5_4_0 Qt_5_4_1 Qt_5_4_2 Qt_5_5_0 Qt_5_5_1 
Qt_5_6_0}

Test 2 was to remove also this check, by commenting the line:
report_NOT_FOUND("PyQt module does not support Qt version $
{Qt5Core_VERSION_MINOR}.${Qt5Core_VERSION_PATCH} for the $
{CMAKE_FIND_PACKAGE_NAME} Module.")

After taht I was able to build the whole pkgs!


More information about the Kde-bindings mailing list