mirror of
http://code.qt.io/yocto/meta-qt6.git
synced 2026-01-01 13:58:07 +00:00
Qt for Python offers the official Python bindings for Qt, which enables you to use Python to write your Qt applications. The project has two main components: PySide6, so that you can use Qt6 APIs in your Python applications, and Shiboken6, a binding generator tool, which can be used to expose C++ projects to Python, and a Python module with some utility functions. Shiboken has dependency to libclang, the recipes can therefore be used only with meta-clang layer included in the build. Task-number: PYSIDE-1958 Change-Id: Ic4de8c37ecbfdb092a33869b472b55e5442720fc Reviewed-by: Alex Bu <alex.bu@qt.io> Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
33 lines
1.2 KiB
PHP
33 lines
1.2 KiB
PHP
LICENSE = "The-Qt-Company-Commercial | (GPL-3.0-only & Qt-GPL-exception-1.0) & (LGPL-3.0-only | GPL-2.0-only | GPL-3.0-only)"
|
|
LIC_FILES_CHKSUM = " \
|
|
file://LICENSES/BSD-3-Clause.txt;md5=cb40fa7520502d8c7a3aea47cae1316c \
|
|
file://LICENSES/GFDL-1.3-no-invariants-only.txt;md5=a22d0be1ce2284b67950a4d1673dd1b0 \
|
|
file://LICENSES/GPL-2.0-only.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
|
|
file://LICENSES/GPL-3.0-only.txt;md5=d32239bcb673463ab874e80d47fae504 \
|
|
file://LICENSES/LGPL-3.0-only.txt;md5=e6a600fd5e1d9cbde2d983680233ad02 \
|
|
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
|
|
file://LICENSES/Qt-GPL-exception-1.0.txt;md5=9a13522cd91a88fba784baf16ea66af8 \
|
|
"
|
|
|
|
python() {
|
|
if 'clang-layer' not in d.getVar('BBFILE_COLLECTIONS').split():
|
|
raise bb.parse.SkipRecipe('Requires meta-clang to be present.')
|
|
}
|
|
|
|
inherit setuptools3
|
|
inherit qt6-cmake
|
|
|
|
require recipes-qt/qt6/qt6-git.inc
|
|
|
|
QT_GIT_PROJECT = "pyside"
|
|
QT_MODULE = "pyside-setup"
|
|
|
|
FILESEXTRAPATHS:prepend := "${THISDIR}/pyside6:"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
EXTRA_OECMAKE += "-DBUILD_TESTS=FALSE"
|
|
EXTRA_OECMAKE:append:class-target = " -DQFP_SHIBOKEN_HOST_PATH=${STAGING_EXECPREFIXDIR} -DQFP_PYTHON_HOST_PATH=${PYTHON}"
|
|
|
|
INSANE_SKIP:${PN} += "already-stripped"
|