[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: Some questions about next versions of SIP
From: Boudewijn Rempt <boud () valdyas ! org>
Date: 2020-09-15 6:36:11
Message-ID: 14698143.O9o76ZdvQC () boud-thinkpad-t470p
[Download RAW message or body]
On Monday, 14 September 2020 23:23:39 CEST Phil Thompson wrote:
> The main difference between SIP v4 and v5 is the *addition* of a build
> system, so it's not possible to write a guide to converting from
> something I know nothing about.
Well, it's not complicated. We run a cmake configure_command and build_command on the \
downloaded sip code:
CONFIGURE_COMMAND ${PYTHON_EXECUTABLE_PATH} <SOURCE_DIR>/configure.py -b \
${PREFIX_ext_sip}/bin -d ${PREFIX_ext_sip}/lib/python3.8/site-packages -e \
${PREFIX_ext_sip}/include --sipdir ${PREFIX_ext_sip}/sip --target-py-version 3.8 \
--sip-module PyQt5.sip BUILD_COMMAND make
For PyQt it's the same:
CONFIGURE_COMMAND ${PYTHON_EXECUTABLE_PATH} <SOURCE_DIR>/configure.py \
${_PYQT_conf} BUILD_COMMAND make
We cannot use any prebuilt binaries because we need to use our own build of Qt.
> There may be improvements that can be made to help projects move to SIP
> v5, but it is up to those projects to identify them.
--
https://www.krita.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic