mirror of
http://code.qt.io/yocto/meta-qt6.git
synced 2026-01-01 13:58:07 +00:00
Compare commits
70 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f9010c6d03 | ||
|
|
3ce9497eae | ||
|
|
f26b1cccc0 | ||
|
|
29729c932d | ||
|
|
d89aa0880f | ||
|
|
2b2ed1c732 | ||
|
|
fce7cf8c3a | ||
|
|
3200100d62 | ||
|
|
fb21821c4d | ||
|
|
44ef3480d3 | ||
|
|
eb25c68e5a | ||
|
|
a069f7e5b2 | ||
|
|
c80c975e50 | ||
|
|
838af10af4 | ||
|
|
f80a7f25cd | ||
|
|
745d39e410 | ||
|
|
df83319530 | ||
|
|
c686e0fe69 | ||
|
|
a7a53c751c | ||
|
|
338aefa157 | ||
|
|
c77a8b7c0c | ||
|
|
58a3032829 | ||
|
|
e7718f4d3a | ||
|
|
8a60c0ccb1 | ||
|
|
76e166af28 | ||
|
|
78855ecc61 | ||
|
|
999307ccbd | ||
|
|
391b858c1c | ||
|
|
4982bb1819 | ||
|
|
27ef905b04 | ||
|
|
7f58cf730a | ||
|
|
7030ade93a | ||
|
|
4801c53e39 | ||
|
|
f1de466a1e | ||
|
|
698b9135e1 | ||
|
|
3edb1e2d8b | ||
|
|
27c8f14a32 | ||
|
|
38d7ed3d02 | ||
|
|
62c0de79db | ||
|
|
4c04d27695 | ||
|
|
92c63a90bd | ||
|
|
1e86542bf2 | ||
|
|
640a61b150 | ||
|
|
12c9ed7322 | ||
|
|
d215f16cb2 | ||
|
|
7166be5225 | ||
|
|
a72fb60f1a | ||
|
|
93375bcb1c | ||
|
|
d0bf415e0d | ||
|
|
77e33156cd | ||
|
|
92aa33f28b | ||
|
|
28deeb771f | ||
|
|
f9fc175237 | ||
|
|
8d5d4ebf1f | ||
|
|
c15edd6fa2 | ||
|
|
a04fc3b62b | ||
|
|
6dea88f1ea | ||
|
|
dd2243d150 | ||
|
|
68563eb84a | ||
|
|
2f8732f679 | ||
|
|
1673037a80 | ||
|
|
5c1751235e | ||
|
|
2dfd746cca | ||
|
|
4dbc2215b7 | ||
|
|
75c0f2c791 | ||
|
|
d3f86584c2 | ||
|
|
174043dd8a | ||
|
|
e407a92b74 | ||
|
|
0b4a774077 | ||
|
|
d0d61cd624 |
31
README.md
31
README.md
|
|
@ -20,21 +20,22 @@ Following table shows the Yocto releases which are used to test each
|
|||
Qt version (x) and any additional Yocto releases that are stated in
|
||||
the LAYERSERIES_COMPAT (c).
|
||||
|
||||
| Yocto \ Qt | dev | 6.8 | 6.7 | 6.6 | 6.5 | 6.4 | 6.3 | 6.2 |
|
||||
|:---------- |:---:|:----:|:----:|:---:|:---:|:---:|:---:|:---:|
|
||||
| walnascar | x | x | | | | | | |
|
||||
| styhead | x | x | x | | | | | |
|
||||
| scarthgap | x | x | x | c | x | | | |
|
||||
| nanbield | c | c | x | c | c | | | |
|
||||
| mickledore | c | c | c | c | c | c | | |
|
||||
| langdale | c | c | c | c | c | c | | |
|
||||
| kirkstone | x | x | x | c | x | c | c | c |
|
||||
| honister | | | | c | c | c | c | c |
|
||||
| hardknott | | | | c | c | c | c | c |
|
||||
| gatesgarth | | | | c | c | c | c | c |
|
||||
| dunfell | | | | c | x | c | c | c |
|
||||
| | | | | | | | | |
|
||||
| | dev |stable|stable| EOL | LTS | EOL | EOL | EOL |
|
||||
| Yocto \ Qt | 6.9 | 6.8 | 6.7 | 6.6 | 6.5 | 6.4 | 6.3 | 6.2 |
|
||||
|:---------- |:----:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|
|
||||
| whinlatter | x | x | | | | | | |
|
||||
| walnascar | x | x | | | | | | |
|
||||
| styhead | x | x | c | | | | | |
|
||||
| scarthgap | x | x | c | c | x | | | |
|
||||
| nanbield | c | c | c | c | c | | | |
|
||||
| mickledore | c | c | c | c | c | c | | |
|
||||
| langdale | c | c | c | c | c | c | | |
|
||||
| kirkstone | x | x | c | c | x | c | c | c |
|
||||
| honister | | | | c | c | c | c | c |
|
||||
| hardknott | | | | c | c | c | c | c |
|
||||
| gatesgarth | | | | c | c | c | c | c |
|
||||
| dunfell | | | | c | x | c | c | c |
|
||||
| | | | | | | | | |
|
||||
| |stable| LTS | EOL | EOL | LTS | EOL | EOL | EOL |
|
||||
|
||||
Detailed status of supported Qt versions can be found from
|
||||
https://doc.qt.io/qt-6/supported-platforms.html#supported-qt-versions
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ create_qt6_sdk_files () {
|
|||
echo 'Binaries = ${QT6_INSTALL_BINDIR}' >> $qtconf
|
||||
echo 'LibraryExecutables = ${QT6_INSTALL_LIBEXECDIR}' >> $qtconf
|
||||
echo 'Plugins = ${QT6_INSTALL_PLUGINSDIR}' >> $qtconf
|
||||
echo 'Qml2Imports = ${QT6_INSTALL_QMLDIR}' >> $qtconf
|
||||
echo 'QmlImports = ${QT6_INSTALL_QMLDIR}' >> $qtconf
|
||||
echo 'Translations = ${QT6_INSTALL_TRANSLATIONSDIR}' >> $qtconf
|
||||
echo 'Documentation = ${QT6_INSTALL_DOCDIR}' >> $qtconf
|
||||
echo 'Settings = ${QT6_INSTALL_SYSCONFDIR}' >> $qtconf
|
||||
|
|
|
|||
|
|
@ -9,9 +9,11 @@ EXTRA_OECMAKE += "\
|
|||
-DCMAKE_MESSAGE_LOG_LEVEL=${QT_MESSAGE_LOG_LEVEL} \
|
||||
"
|
||||
QT_FORCE_BUILD_TOOLS ?= "OFF"
|
||||
QT_INSTALL_EXAMPLES_SOURCES ?= "OFF"
|
||||
EXTRA_OECMAKE:append:class-target = "\
|
||||
-DQT_HOST_PATH:PATH=${RECIPE_SYSROOT_NATIVE}${prefix_native}/ \
|
||||
-DQT_FORCE_BUILD_TOOLS=${QT_FORCE_BUILD_TOOLS} \
|
||||
-DQT_INSTALL_EXAMPLES_SOURCES=${QT_INSTALL_EXAMPLES_SOURCES} \
|
||||
-D__harfbuzz_broken_config_file=TRUE \
|
||||
"
|
||||
EXTRA_OECMAKE:append:class-nativesdk = "\
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ QT6_INSTALL_SYSCONFDIR ?= "${sysconfdir}/xdg"
|
|||
QT6_INSTALL_EXAMPLESDIR ?= "${datadir}/examples"
|
||||
# Tests [PREFIX/tests]
|
||||
QT6_INSTALL_TESTSDIR ?= "${prefix}/tests"
|
||||
# Module description files directory [DATADIR/modules]
|
||||
QT6_INSTALL_DESCRIPTIONSDIR ?= "${datadir}/modules"
|
||||
# Module description files directory [ARCHDATADIR/modules]
|
||||
QT6_INSTALL_DESCRIPTIONSDIR ?= "${libdir}/modules"
|
||||
# Mkspecs files [PREFIX/mkspecs]
|
||||
QT6_INSTALL_MKSPECSDIR ?= "${libdir}/mkspecs"
|
||||
|
|
|
|||
|
|
@ -92,7 +92,7 @@ Data = ${OE_QMAKE_PATH_DATA}
|
|||
Binaries = ${OE_QMAKE_PATH_BINS}
|
||||
LibraryExecutables = ${OE_QMAKE_PATH_LIBEXECS}
|
||||
Plugins = ${OE_QMAKE_PATH_PLUGINS}
|
||||
Qml2Imports = ${OE_QMAKE_PATH_QML}
|
||||
QmlImports = ${OE_QMAKE_PATH_QML}
|
||||
Translations = ${OE_QMAKE_PATH_TRANSLATIONS}
|
||||
Documentation = ${OE_QMAKE_PATH_DOCS}
|
||||
Settings = ${OE_QMAKE_PATH_SETTINGS}
|
||||
|
|
@ -124,7 +124,7 @@ Data = ${OE_QMAKE_PATH_DATA}
|
|||
Binaries = ${OE_QMAKE_PATH_BINS}
|
||||
LibraryExecutables = ${OE_QMAKE_PATH_LIBEXECS}
|
||||
Plugins = ${OE_QMAKE_PATH_PLUGINS}
|
||||
Qml2Imports = ${OE_QMAKE_PATH_QML}
|
||||
QmlImports = ${OE_QMAKE_PATH_QML}
|
||||
Translations = ${OE_QMAKE_PATH_TRANSLATIONS}
|
||||
Documentation = ${OE_QMAKE_PATH_DOCS}
|
||||
Settings = ${OE_QMAKE_PATH_SETTINGS}
|
||||
|
|
@ -162,7 +162,7 @@ EOF
|
|||
# Binaries The location of installed Qt binaries (tools and applications).
|
||||
# Plugins The location of installed Qt plugins.
|
||||
# Imports The location of installed QML extensions to import (QML 1.x).
|
||||
# Qml2Imports The location of installed QML extensions to import (QML 2.x).
|
||||
# QmlImports The location of installed QML extensions to import (QML 2.x).
|
||||
# ArchData The location of general architecture-dependent Qt data.
|
||||
# Data The location of general architecture-independent Qt data.
|
||||
# Translations The location of translation information for Qt strings.
|
||||
|
|
|
|||
|
|
@ -20,18 +20,21 @@ python do_srcrev_update() {
|
|||
d.setVar("__BBSRCREV_SEEN", "1")
|
||||
for scm in scms:
|
||||
ud = urldata[scm]
|
||||
for name in ud.names:
|
||||
rev = ud.method.latest_revision(ud, d, name)
|
||||
srcrev = d.getVar("SRCREV_%s" % name)
|
||||
if srcrev is None: srcrev = d.getVar("SRCREV")
|
||||
if hasattr(ud, 'names'):
|
||||
name = ud.names[0]
|
||||
else:
|
||||
name = ud.name
|
||||
rev = ud.method.latest_revision(ud, d, name)
|
||||
srcrev = d.getVar("SRCREV_%s" % name)
|
||||
if srcrev is None: srcrev = d.getVar("SRCREV")
|
||||
|
||||
if srcrev == rev:
|
||||
bb.plain("%s: %s is already latest" % (name, srcrev))
|
||||
continue
|
||||
if srcrev == rev:
|
||||
bb.plain("%s: %s is already latest" % (name, srcrev))
|
||||
continue
|
||||
|
||||
bb.plain("%s: %s -> %s" % (name, srcrev, rev))
|
||||
cmd = "sed -E -i %s %s -e '/SRCREV(_%s)? /s/%s/%s/'" % (recipe, srcrev_file, name, srcrev, rev)
|
||||
bb.process.run(cmd, log=None, shell=True, stderr=subprocess.PIPE, cwd=None)
|
||||
bb.plain("%s: %s -> %s" % (name, srcrev, rev))
|
||||
cmd = "sed -E -i %s %s -e '/SRCREV(_%s)? /s/%s/%s/'" % (recipe, srcrev_file, name, srcrev, rev)
|
||||
bb.process.run(cmd, log=None, shell=True, stderr=subprocess.PIPE, cwd=None)
|
||||
}
|
||||
do_srcrev_update[nostamp] = "1"
|
||||
addtask srcrev_update after do_fetch
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ machine_type:
|
|||
#
|
||||
# [target1] [target2] [target3] [target4] [target5]
|
||||
# [machine] qemuarm64 qemux86-64 qemuarm qemux86 qemuarm64
|
||||
# [yocto] master master scarthgap styhead kirkstone
|
||||
# [yocto] master walnascar scarthgap styhead kirkstone
|
||||
# [wayland] yes no no yes yes
|
||||
# [mingw] no no yes no no
|
||||
# [static] no no no no yes
|
||||
|
|
@ -34,7 +34,7 @@ target1: &target1
|
|||
variableValue: master.xml
|
||||
- type: EnvironmentVariable
|
||||
variableName: TEST_CONFIGS
|
||||
variableValue: ci configs wayland
|
||||
variableValue: ci configs wayland python
|
||||
enable_if:
|
||||
condition: property
|
||||
property: target.arch
|
||||
|
|
@ -47,10 +47,10 @@ target2: &target2
|
|||
variableValue: qemux86-64
|
||||
- type: EnvironmentVariable
|
||||
variableName: MANIFEST
|
||||
variableValue: master.xml
|
||||
variableValue: walnascar.xml
|
||||
- type: EnvironmentVariable
|
||||
variableName: TEST_CONFIGS
|
||||
variableValue: ci configs
|
||||
variableValue: ci configs python
|
||||
enable_if:
|
||||
condition: property
|
||||
property: target.arch
|
||||
|
|
@ -66,7 +66,7 @@ target3: &target3
|
|||
variableValue: scarthgap.xml
|
||||
- type: EnvironmentVariable
|
||||
variableName: TEST_CONFIGS
|
||||
variableValue: ci configs mingw
|
||||
variableValue: ci configs mingw python
|
||||
enable_if:
|
||||
condition: property
|
||||
property: target.arch
|
||||
|
|
@ -82,7 +82,7 @@ target4: &target4
|
|||
variableValue: styhead.xml
|
||||
- type: EnvironmentVariable
|
||||
variableName: TEST_CONFIGS
|
||||
variableValue: ci configs wayland no-webengine
|
||||
variableValue: ci configs wayland no-webengine python
|
||||
enable_if:
|
||||
condition: property
|
||||
property: target.arch
|
||||
|
|
@ -98,7 +98,7 @@ target5: &target5
|
|||
variableValue: kirkstone.xml
|
||||
- type: EnvironmentVariable
|
||||
variableName: TEST_CONFIGS
|
||||
variableValue: ci configs wayland static no-webengine
|
||||
variableValue: ci configs wayland static no-webengine python
|
||||
enable_if:
|
||||
condition: property
|
||||
property: target.arch
|
||||
|
|
@ -137,7 +137,7 @@ instructions:
|
|||
chmod +x repo
|
||||
|
||||
./repo init \
|
||||
--repo-url https://github.com/theqtcompany/git-repo \
|
||||
--repo-url git@git.qt.io:boot2qt/git-repo.git \
|
||||
-u git://code.qt.io/yocto/boot2qt-manifest \
|
||||
-b ci \
|
||||
-m ${MANIFEST} \
|
||||
|
|
@ -149,6 +149,7 @@ instructions:
|
|||
bitbake-layers add-layer ../meta-openembedded/meta-python
|
||||
bitbake-layers add-layer ../meta-openembedded/meta-multimedia
|
||||
bitbake-layers add-layer ../meta-mingw
|
||||
bitbake-layers add-layer ../meta-clang
|
||||
bitbake-layers add-layer ${SOURCE_DIR}
|
||||
|
||||
for conf in ${TEST_CONFIGS}; do
|
||||
|
|
|
|||
|
|
@ -39,6 +39,11 @@ INSANE_SKIP:append:pn-nativesdk-clang = " buildpaths"
|
|||
PREFERRED_ARM_INSTRUCTION_SET ?= "thumb"
|
||||
ARM_INSTRUCTION_SET = "${PREFERRED_ARM_INSTRUCTION_SET}"
|
||||
|
||||
# build squish
|
||||
USE_SQUISH = "1"
|
||||
SQUISH_MIRROR = "https://ci-files01-hki.ci.qt.io/input/squish/releasepackages"
|
||||
SQUISH_LICENSE_KEY = "qt-srv-19.intra.qt.io:49345"
|
||||
|
||||
# enable webengine with commercial/proprietary features
|
||||
DISTRO_FEATURES:append = " webengine"
|
||||
PACKAGECONFIG:append:pn-qtwebengine = " proprietary-codecs"
|
||||
|
|
@ -47,7 +52,6 @@ PACKAGECONFIG:append:pn-qtbase = "\
|
|||
tslib kms gbm zstd libproxy gssapi vulkan mtdev cups \
|
||||
sql-mysql sql-odbc sql-psql sql-sqlite journald brotli \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'gtk', '', d)} \
|
||||
use-gold-linker \
|
||||
"
|
||||
|
||||
# imageformats mng FIXME
|
||||
|
|
|
|||
2
coin/test-python.inc
Normal file
2
coin/test-python.inc
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
RDEPENDS:${PN}:append:pn-packagegroup-qt6-addons = " python3-pyside6"
|
||||
|
||||
|
|
@ -48,12 +48,15 @@ QT_GIT_PROJECT ?= "qt"
|
|||
QT_GIT ?= "git://code.qt.io"
|
||||
QT_GIT_PROTOCOL ?= "git"
|
||||
QT_EDITION ?= "opensource"
|
||||
QT_VERSION = "6.9.0"
|
||||
QT_VERSION = "6.9.1"
|
||||
|
||||
QT_COMMERCIAL_GIT ?= "git://codereview.qt-project.org"
|
||||
QT_COMMERCIAL_GIT_PROTOCOL ?= "ssh"
|
||||
|
||||
QT_COMMERCIAL_MODULES ?= "0"
|
||||
|
||||
CAN_USE_PYSIDE6 = "${@True if 'clang-layer' in d.getVar('BBFILE_COLLECTIONS').split() or \
|
||||
os.path.exists(os.path.join(d.getVar('COREBASE'),'meta/recipes-devtools/clang')) else False}"
|
||||
|
||||
# License mapping back to old license files
|
||||
SPDXLICENSEMAP[GFDL-1.3-no-invariants-only] = "GFDL-1.3"
|
||||
|
|
|
|||
149
licenses/Squish-Commercial-License-Agreement
Normal file
149
licenses/Squish-Commercial-License-Agreement
Normal file
|
|
@ -0,0 +1,149 @@
|
|||
Squish Commercial License Agreement
|
||||
Agreement version 3.1
|
||||
|
||||
This Squish Commercial License Agreement ("Agreement") is made by and
|
||||
between The Qt Company Oy ("The Qt Company"), and you (either an
|
||||
individual or a legal entity) ("Licensee").
|
||||
|
||||
|
||||
IMPORTANT - READ CAREFULLY:
|
||||
|
||||
1. The Qt Company developed and originated Squish including source code,
|
||||
documentation and example programs ("Licensed Software"). The Licensed
|
||||
Software is protected by copyright laws and international copyright
|
||||
treaties, as well as other intellectual property laws and
|
||||
treaties. The Qt Company retains all rights not expressly granted.
|
||||
|
||||
2. By installing, copying, or otherwise using the Licensed Software,
|
||||
Licensee agrees to be bound by the terms of this Agreement. If
|
||||
Licensee does not agree to the terms of this Agreement, Licensee
|
||||
should not install, copy, or otherwise use the Licensed Software. In
|
||||
addition, by installing, copying, or otherwise using any updates or
|
||||
other components of the Licensed Software that Licensee receives
|
||||
separately as part of the Licensed Software ("Updates"), Licensee
|
||||
agrees to be bound by any additional license terms that accompany such
|
||||
Updates. If Licensee does not agree to the additional license terms
|
||||
that accompany such Updates, Licensee may not install, copy, or
|
||||
otherwise use such Updates.
|
||||
|
||||
3. Upon Licensee's acceptance of the terms and conditions of this
|
||||
Agreement, The Qt Company grants Licensee the right to use the Licensed
|
||||
Software during the agreed validity period as set forth in the
|
||||
respective License Certificate ("License Term"), solely for Licensee's
|
||||
internal business purposes in the manner provided below.
|
||||
|
||||
4a. If the license, as specified in the license certificate, is a
|
||||
Floating Tester Subscription or Floating Execution Subscription,
|
||||
Licensee may install the Licensed Software on an unlimited amount of
|
||||
computers. Concurrent use of the installed Licensed Software is
|
||||
limited to the number of floating seats purchased as specified in the
|
||||
license certificate and to persons employed or contracted by the
|
||||
Licensee. If the license is a Floating Execution License, Licensee may
|
||||
only use the installed Licensed Software for executing tests and
|
||||
processing test results, but not for developing, debugging and
|
||||
maintaining tests.
|
||||
|
||||
4b. If the license, as specified in the license certificate, is a User
|
||||
Node-Locked Subscription, Licensee may install the Licensed Software
|
||||
for a single user on a single physical computer. Installation and
|
||||
usage in virtual machines or the use via remote access is prohibited.
|
||||
|
||||
5. Licensee may modify the Licensed Software except for altering or
|
||||
removing any details of ownership, copyright, trademark or other
|
||||
property right connected with the Licensed Software.
|
||||
|
||||
6. Licensee may not distribute the Licensed Software, modified or
|
||||
unmodified, separately or as part of any software package.
|
||||
|
||||
7. Upon expiry of the initially agreed License Term, the respective
|
||||
License Terms shall be automatically extended to one or more
|
||||
extensions of previous License Term as agreed between the Parties
|
||||
("Renewal Term"), unless and until either Party notifies the other
|
||||
Party in writing, or any other method acceptable to The Qt Company, that it
|
||||
does not wish to continue the License Term, such notification to be
|
||||
provided to the other Party no less than thirty (30) days before
|
||||
expiry of the respective License Term. Unless otherwise agreed between
|
||||
the Parties, Renewal Term shall be of equal length with the initial
|
||||
License Term.
|
||||
|
||||
Any such Renewal Term shall be subject to License Fees agreed between
|
||||
the Parties or, if no advance agreement exists, subject to The Qt Company
|
||||
standard pricing applicable at the commencement date of any such
|
||||
Renewal Term.
|
||||
|
||||
Any price or other term specified for a Renewal Term shall be valid
|
||||
only for the specified time.
|
||||
|
||||
|
||||
WARRANTY DISCLAIMER
|
||||
|
||||
8. The Licensed Software is licensed to Licensee "as is". To the
|
||||
maximum extent permitted by applicable law, The Qt Company on behalf of
|
||||
itself and its suppliers, disclaims all warranties and conditions,
|
||||
either expressed or implied, including, but not limited to, implied
|
||||
warranties of merchantability, fitness for a particular purpose, title
|
||||
and non-infringement with regard to the Licensed Software.
|
||||
|
||||
|
||||
LIMITATION OF LIABILITY
|
||||
|
||||
9. If, The Qt Company's warranty disclaimer notwithstanding, The Qt Company is
|
||||
held liable to Licensee, whether in contract, tort or any other legal
|
||||
theory, based on the Licensed Software, The Qt Company's entire liability
|
||||
to Licensee and Licensee's exclusive remedy shall be, at The Qt Company's
|
||||
option, either (A) return of the price Licensee paid for the Licensed
|
||||
Software, or (B) repair or replacement of the Licensed Software,
|
||||
provided Licensee returns to The Qt Company all copies of the Licensed
|
||||
Software as originally delivered to Licensee. The Qt Company shall not
|
||||
under any circumstances be liable to Licensee based on failure of the
|
||||
Licensed Software if the failure resulted from accident, abuse or
|
||||
misapplication, nor shall The Qt Company under any circumstances be liable
|
||||
for special damages, punitive or exemplary damages, damages for loss
|
||||
of profits or interruption of business or for loss or corruption of
|
||||
data. Any award of damages from The Qt Company to Licensee shall not exceed
|
||||
the total amount Licensee has paid to The Qt Company in connection with
|
||||
this Agreement.
|
||||
|
||||
|
||||
SUPPORT AND UPDATES
|
||||
|
||||
10. Licensee will be eligible to receive email based software support
|
||||
and access to Downloads and Updates to the Licensed Software for the
|
||||
License Term, in accordance with The Qt Company's then current policies and
|
||||
procedures, if any. Such policies and procedures may be changed from
|
||||
time to time.
|
||||
|
||||
|
||||
PRIVACY
|
||||
|
||||
11. Licensee acknowledges and agrees that for the purpose of this
|
||||
agreement, The Qt Company may collect, use, transfer and disclose personal
|
||||
data pertaining to Users as well as any other employees and directors
|
||||
of the Licensee and its contractors relevant for carrying out the
|
||||
intent of this agreement. Such personal data may be collected from the
|
||||
Licensee or directly from the relevant individuals. The parties
|
||||
acknowledge that with regard to such personal data processed
|
||||
hereunder, The Qt Company shall be regarded as the Data Controller under
|
||||
the applicable data protection legislation. The Qt Company shall process
|
||||
any such personal data in accordance with its privacy policies and
|
||||
practices, which will comply with all applicable requirements of the
|
||||
General Data Protection Regulation (GDPR) and any national
|
||||
implementing laws and regulations.
|
||||
|
||||
|
||||
GENERAL PROVISIONS
|
||||
|
||||
12. This Agreement may only be modified in writing signed by
|
||||
authorized representatives of Licensee and The Qt Company. In case of a
|
||||
conflict between this Agreement and the terms of any purchase order or
|
||||
other ordering document, this Agreement shall prevail. If any provision
|
||||
of this Agreement is found void or unenforceable, the remainder will
|
||||
remain valid and enforceable according to its terms. If any remedy
|
||||
provided is determined to have failed for its essential purpose, all
|
||||
limitations of liability and exclusions of damages set forth in this
|
||||
Agreement shall remain in effect.
|
||||
|
||||
13. This Agreement shall be construed, interpreted and governed by the
|
||||
laws of Finland, the legal venue to be Helsinki District Court. The Qt
|
||||
Company reserves all rights not specifically granted in this
|
||||
Agreement.
|
||||
35
recipes-python/pyside6/python3-pyside6.inc
Normal file
35
recipes-python/pyside6/python3-pyside6.inc
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
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 not bb.utils.to_boolean(d.getVar('CAN_USE_PYSIDE6')):
|
||||
raise bb.parse.SkipRecipe('clang is not available.')
|
||||
}
|
||||
|
||||
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 \
|
||||
-DQFP_PYTHON_SITE_PACKAGES=${PYTHON_SITEPACKAGES_DIR} \
|
||||
"
|
||||
EXTRA_OECMAKE:append:class-target = " -DQFP_SHIBOKEN_HOST_PATH=${STAGING_EXECPREFIXDIR} -DQFP_PYTHON_HOST_PATH=${PYTHON}"
|
||||
|
||||
INSANE_SKIP:${PN} += "already-stripped"
|
||||
71
recipes-python/pyside6/python3-pyside6_git.bb
Normal file
71
recipes-python/pyside6/python3-pyside6_git.bb
Normal file
|
|
@ -0,0 +1,71 @@
|
|||
require python3-pyside6.inc
|
||||
|
||||
DEPENDS += "\
|
||||
python3-shiboken6 \
|
||||
python3-shiboken6-native \
|
||||
${PYSIDE_QT_MODULES} \
|
||||
"
|
||||
PYSIDE_QT_MODULES ?= "\
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qt3d', '', d)} \
|
||||
qtbase \
|
||||
qtcharts \
|
||||
qtconnectivity \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qtdatavis3d', '', d)} \
|
||||
qtdeclarative \
|
||||
qtdeclarative-native \
|
||||
qtgraphs \
|
||||
${@bb.utils.contains('QT_COMMERCIAL_MODULES', '1', 'qthttpserver', '', d)} \
|
||||
qtlocation \
|
||||
qtmultimedia \
|
||||
qtnetworkauth \
|
||||
qtpositioning \
|
||||
qtquick3d \
|
||||
qtquick3d-native \
|
||||
qtremoteobjects \
|
||||
qtremoteobjects-native \
|
||||
qtscxml \
|
||||
qtscxml-native \
|
||||
qtsensors \
|
||||
qtserialbus \
|
||||
qtserialport \
|
||||
qtspeech \
|
||||
qtsvg \
|
||||
qttools \
|
||||
qtwebchannel \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtwebengine', '', d)} \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtpdf', '', d)} \
|
||||
qtwebsockets \
|
||||
"
|
||||
|
||||
OECMAKE_SOURCEPATH = "${S}/sources/pyside6"
|
||||
|
||||
export LLVM_INSTALL_DIR = "${STAGING_DIR_NATIVE}${exec_prefix}"
|
||||
|
||||
PYSIDE_COMPILER = "${HOST_SYS}-g++"
|
||||
PYSIDE_COMPILER:toolchain-clang = "${HOST_SYS}-clang++"
|
||||
# Workaround big.LITTLE architecture args not supported by clang
|
||||
PYSIDE_COMPILER_FLAGS = "${@d.getVar('HOST_CC_ARCH') \
|
||||
.replace('cortex-a15.cortex','cortex') \
|
||||
.replace('cortex-a17.cortex','cortex') \
|
||||
.replace('cortex-a57.cortex','cortex') \
|
||||
.replace('cortex-a72.cortex','cortex') \
|
||||
.replace('cortex-a73.cortex','cortex') \
|
||||
.replace('cortex-a75.cortex','cortex') \
|
||||
.replace('cortex-a76.cortex','cortex')} \
|
||||
"
|
||||
|
||||
EXTRA_OECMAKE += "\
|
||||
-DSTANDALONE=ON \
|
||||
-DPYSIDE_TREAT_QT_INCLUDE_DIRS_AS_NON_SYSTEM=ON \
|
||||
-DSHIBOKEN_GENERATOR_EXTRA_FLAGS='\
|
||||
--clang-options=--sysroot=${STAGING_DIR_TARGET},--target=${HOST_SYS},${@d.getVar('PYSIDE_COMPILER_FLAGS').replace(' ',',')} \
|
||||
--compiler-path=${PYSIDE_COMPILER} \
|
||||
' \
|
||||
"
|
||||
|
||||
FILES:${PN} += "\
|
||||
${QT6_INSTALL_PLUGINSDIR}/designer \
|
||||
"
|
||||
FILES:${PN}-dev += "\
|
||||
${datadir}/PySide6 \
|
||||
"
|
||||
16
recipes-python/pyside6/python3-shiboken6_git.bb
Normal file
16
recipes-python/pyside6/python3-shiboken6_git.bb
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
require python3-pyside6.inc
|
||||
|
||||
DEPENDS += "qtbase clang-native python3-shiboken6-native"
|
||||
|
||||
OECMAKE_SOURCEPATH = "${S}/sources/shiboken6"
|
||||
|
||||
EXTRA_OECMAKE += "-DSHIBOKEN_BUILD_LIBS=ON"
|
||||
|
||||
do_install:append() {
|
||||
# shiboken6.pc in package python3-shiboken6-dev contains reference to TMPDIR [buildpaths]
|
||||
sed -i ${D}${QT6_INSTALL_LIBDIR}/pkgconfig/shiboken6.pc \
|
||||
-e '/^python_/d' \
|
||||
-e 's|${RECIPE_SYSROOT}||'
|
||||
}
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
|
@ -15,6 +15,8 @@ RDEPENDS:${PN} += " \
|
|||
nativesdk-qtgrpc-tools \
|
||||
nativesdk-qtquick3d-dev \
|
||||
nativesdk-qtquick3d-tools \
|
||||
nativesdk-qtopcua-dev \
|
||||
nativesdk-qtopcua-tools \
|
||||
nativesdk-qtremoteobjects-dev \
|
||||
nativesdk-qtremoteobjects-tools \
|
||||
nativesdk-qtscxml-dev \
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@ inherit packagegroup
|
|||
PACKAGEGROUP_DISABLE_COMPLEMENTARY = "1"
|
||||
|
||||
RDEPENDS:${PN} += " \
|
||||
${@'python3-pyside6' if bb.utils.to_boolean(d.getVar('CAN_USE_PYSIDE6')) else ''} \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qt3d', '', d)} \
|
||||
qt5compat \
|
||||
qtapplicationmanager \
|
||||
|
|
@ -50,20 +51,25 @@ RDEPENDS:${PN} += " \
|
|||
|
||||
RDEPENDS:${PN}:append:aarch64 = "\
|
||||
qtquick3dphysics \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtwebengine qtwebview qtpdf', '', d)} \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qtpdf', '', d)} \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtwebengine qtwebview', '', d)} \
|
||||
"
|
||||
RDEPENDS:${PN}:append:arm = " qtquick3dphysics"
|
||||
RDEPENDS:${PN}:append:armv6 = "\
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtwebengine qtwebview qtpdf', '', d)} \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qtpdf', '', d)} \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtwebengine qtwebview', '', d)} \
|
||||
"
|
||||
RDEPENDS:${PN}:append:armv7a = "\
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtwebengine qtwebview qtpdf', '', d)} \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qtpdf', '', d)} \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtwebengine qtwebview', '', d)} \
|
||||
"
|
||||
RDEPENDS:${PN}:append:armv7ve = "\
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtwebengine qtwebview qtpdf', '', d)} \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qtpdf', '', d)} \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtwebengine qtwebview', '', d)} \
|
||||
"
|
||||
RDEPENDS:${PN}:append:x86 = " qtquick3dphysics"
|
||||
RDEPENDS:${PN}:append:x86-64 = "\
|
||||
qtquick3dphysics \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtwebengine qtwebview qtpdf', '', d)} \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qtpdf', '', d)} \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtwebengine qtwebview', '', d)} \
|
||||
"
|
||||
|
|
|
|||
|
|
@ -12,4 +12,5 @@ RDEPENDS:${PN} += " \
|
|||
qmlcompilerplus \
|
||||
qtinsighttracker \
|
||||
qtvncserver \
|
||||
${@'squish' if bb.utils.to_boolean(d.getVar('USE_SQUISH')) else ''} \
|
||||
"
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@ RDEPENDS:${PN} += " \
|
|||
qtdeclarative \
|
||||
qtdeclarative-tools \
|
||||
qttools \
|
||||
qttools-tools \
|
||||
qttranslations-qtbase \
|
||||
qttranslations-qtdeclarative \
|
||||
"
|
||||
|
|
|
|||
|
|
@ -50,6 +50,20 @@ def gn_host_pkg_config(d):
|
|||
"""Return absolute paths to pkg-config-native."""
|
||||
return d.getVar("STAGING_BINDIR_NATIVE") + "/" + "pkg-config-native"
|
||||
|
||||
def gn_clang(d):
|
||||
"""Return true if using clang compiler else return false"""
|
||||
if "clang++" in d.getVar("CXX"):
|
||||
return "true"
|
||||
else:
|
||||
return "false"
|
||||
|
||||
def gn_clang_native(d):
|
||||
"""Return true if using native clang compiler else return false"""
|
||||
if "clang++" in d.getVar("BUILD_CXX"):
|
||||
return "true"
|
||||
else:
|
||||
return "false"
|
||||
|
||||
def write_toolchain_file(d, file_path):
|
||||
"""Creates a complete GN toolchain file in |file_path|."""
|
||||
import string
|
||||
|
|
@ -72,7 +86,7 @@ def write_toolchain_file(d, file_path):
|
|||
' toolchain_args = {\n'
|
||||
' current_cpu = "${current_cpu}"\n'
|
||||
' current_os = "linux"\n'
|
||||
' is_clang = false\n'
|
||||
' is_clang = ${is_clang}\n'
|
||||
' host_pkg_config = "${host_pkg_config}"\n'
|
||||
' }\n'
|
||||
'}\n'
|
||||
|
|
@ -80,6 +94,7 @@ def write_toolchain_file(d, file_path):
|
|||
|
||||
native_toolchain = {
|
||||
'toolchain_name': 'yocto_native',
|
||||
'is_clang': gn_clang_native(d),
|
||||
'current_cpu': gn_host_arch_name(d),
|
||||
'host_pkg_config': gn_host_pkg_config(d),
|
||||
'cc': d.expand('${BUILD_CC}'),
|
||||
|
|
@ -94,6 +109,7 @@ def write_toolchain_file(d, file_path):
|
|||
}
|
||||
target_toolchain = {
|
||||
'toolchain_name': 'yocto_target',
|
||||
'is_clang': gn_clang(d),
|
||||
'current_cpu': gn_target_arch_name(d),
|
||||
'host_pkg_config': gn_host_pkg_config(d),
|
||||
'cc': d.expand('${CC}'),
|
||||
|
|
|
|||
|
|
@ -8,8 +8,8 @@ LIC_FILES_CHKSUM = " \
|
|||
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
|
||||
file://LICENSES/Qt-GPL-exception-1.0.txt;md5=9a13522cd91a88fba784baf16ea66af8 \
|
||||
file://src/3rdparty/assimp/LICENSE;md5=2119edef0916b0bd511cb3c731076271 \
|
||||
file://src/3rdparty/imgui/LICENSE_imstb.txt;md5=2c03212e4ad1f727e9c2251327812596 \
|
||||
file://src/3rdparty/imgui/LICENSE_proggyclean.txt;md5=f9db3a4f99ffc4d38de6bb590db15f31 \
|
||||
file://src/3rdparty/imgui/LICENSE.imstb.txt;md5=2c03212e4ad1f727e9c2251327812596 \
|
||||
file://src/3rdparty/imgui/LICENSE.proggyclean.txt;md5=f9db3a4f99ffc4d38de6bb590db15f31 \
|
||||
file://src/3rdparty/imgui/LICENSE.txt;md5=875a54e93593c8b244ef6b78cacc336e \
|
||||
"
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = " \
|
|||
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 \
|
||||
file://src/core5/codecs/QTSCIICODEC_LICENSE.txt;md5=f36a16de69d08da0af83ce2a672d8972 \
|
||||
file://src/core5/codecs/LICENSE.QTSCIICODEC.txt;md5=f36a16de69d08da0af83ce2a672d8972 \
|
||||
"
|
||||
|
||||
inherit qt6-cmake
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ HOMEPAGE ?= "https://www.qt.io"
|
|||
inherit srcrev-update
|
||||
|
||||
QT_MODULE ?= "${BPN}"
|
||||
QT_MODULE_BRANCH ?= "dev"
|
||||
QT_MODULE_BRANCH ?= "6.9"
|
||||
QT_MODULE_BRANCH_PARAM ?= "branch=${QT_MODULE_BRANCH};nobranch=1"
|
||||
QT_MODULE_REPO ?= "${QT_MODULE}.git"
|
||||
|
||||
|
|
@ -18,55 +18,56 @@ PV = "${QT_VERSION}"
|
|||
|
||||
SRCREV = "${SRCREV_${QT_MODULE}}"
|
||||
|
||||
SRCREV_tqtc-qmlcompilerplus = "96375439f337c8bc74ef5a7e08cd2e6727d60c8a"
|
||||
SRCREV_tqtc-qtinsighttracker = "d4be356120041c18ca650e5abce765e0f2e2ab74"
|
||||
SRCREV_tqtc-qtvncserver = "80d234538dd37a9ab56a8020e3d138e30e67e9e9"
|
||||
SRCREV_qt3d = "219dd44a26cf4323c1a3ba1c7a48ac5f1596b5ba"
|
||||
SRCREV_tqtc-qmlcompilerplus = "1392b0109378f6b5e5cbd899b3fd876d7101b881"
|
||||
SRCREV_tqtc-qtinsighttracker = "96dde2803d7200507cf581e67466e6d964f7a2e0"
|
||||
SRCREV_tqtc-qtvncserver = "c6536d0a12748b52436672e48404d719e8e54fd5"
|
||||
SRCREV_qt3d = "5b76808e8902778af69bb008909f2a2229be8643"
|
||||
SRCREV_pyside-setup = "4d3220388c761575cb97a7ba35077837528c7efa"
|
||||
SRCREV_qt3d-assimp = "647f94648c0ae24b9c6684383a9dbbc0e2fc23b7"
|
||||
SRCREV_qt5compat = "9e0fc26d8e087379ef3f860460c066274368c012"
|
||||
SRCREV_qtbase = "9cb0d48aae81c5436bda783b64721d0b77bc3f6c"
|
||||
SRCREV_qtapplicationmanager = "72bc601489447dc25c8c89e55b8d4b76407f1ab4"
|
||||
SRCREV_qtcharts = "f4aa9dffcfed508f1e7fb7a0f95cb0873ecd47c7"
|
||||
SRCREV_qtcoap = "24c6d9188107d0834b44b91517f58656a495d495"
|
||||
SRCREV_qtconnectivity = "d401180fc4bc59a4dbe279cd4cdf3f4325d6e210"
|
||||
SRCREV_qtdatavis3d = "3e7d0a477a0fe97e8de7669b8d4460c8280c2887"
|
||||
SRCREV_qtdeclarative = "f5673f1e0e139fab33a456275b015fe4e5ca3986"
|
||||
SRCREV_qtdeviceutilities = "1acfa1025584812d7b0008812fa5aa83ce28720a"
|
||||
SRCREV_qtdoc = "7d49bbdf12829df94719f5a53de9f20f76b7502b"
|
||||
SRCREV_qtgraphs = "59085abc6574fdfd222bc9e9b0473093e5344360"
|
||||
SRCREV_qtgrpc = "bfd24967bc26373f4920e3505cd3d4fd28e70687"
|
||||
SRCREV_qthttpserver = "45c60e30e0a4a411162365cf01aafc1b0cba201c"
|
||||
SRCREV_qtimageformats = "08d1bb474949c2d4f886928198bcf4cbf70ce724"
|
||||
SRCREV_qtinterfaceframework = "6f81e3808a87d5faee60b68e2adc59073d9862e1"
|
||||
SRCREV_qtlanguageserver = "5f998f06ebd2aeedad839eb33b303fb44a10aaa9"
|
||||
SRCREV_qtlocation = "ea636dd72f823c20c988b05230b7fbf5ea4aca4d"
|
||||
SRCREV_qtlottie = "0fd4a8f813e0a0395de2b4374935fe6023d3afce"
|
||||
SRCREV_qtmqtt = "aeac9f7e171205bb9c47eb6479cfd3d31768f312"
|
||||
SRCREV_qtmultimedia = "f68eef36f234acfa4e99e1c8ba1d9ed8119a8f44"
|
||||
SRCREV_qtnetworkauth = "2f263f7028d2933c5e536c16f5622349053e682d"
|
||||
SRCREV_qtopcua = "7055c65fc10b2fdec80fe957768bdf27f7874ce1"
|
||||
SRCREV_qtpositioning = "7db6885dce399ad7ef47493c612127b71d3b229d"
|
||||
SRCREV_qtquick3d = "575612ae6be6811226e794e68009db046d7ad780"
|
||||
SRCREV_qt5compat = "b2d590d595ae5fa2945f028bc7389e81309cf6c6"
|
||||
SRCREV_qtbase = "2ad23cd72d5f122f88ce95792a4323d639c27d25"
|
||||
SRCREV_qtapplicationmanager = "dcecae5023406210fa5b20021abc35832035d75c"
|
||||
SRCREV_qtcharts = "77fd99a12cb5d905186ea4bac0f49a797bffc953"
|
||||
SRCREV_qtcoap = "2689f89e5aac41ceba7e97f54e0e854160dfe430"
|
||||
SRCREV_qtconnectivity = "eaa05d542497455d7f88ff72d2f6122895931d34"
|
||||
SRCREV_qtdatavis3d = "64627d13c57ed8c8abdf9d5070e90b10e46447df"
|
||||
SRCREV_qtdeclarative = "1e6adc3d5f1f4cbbb77b41911395782dff43cccd"
|
||||
SRCREV_qtdeviceutilities = "266462c652b0d2c1cea6158423b323ebde517a11"
|
||||
SRCREV_qtdoc = "4db0c72d0b3a56a8559b177a10d345a83216c33e"
|
||||
SRCREV_qtgraphs = "0e849b494cbe8128ecec6d7079bd9d0171ae56c0"
|
||||
SRCREV_qtgrpc = "4873612ba6fb866e9e9468fe989e1cb2d9e0f496"
|
||||
SRCREV_qthttpserver = "4d43e233bce4d94d4c0ccd3410124cb91ea7f43a"
|
||||
SRCREV_qtimageformats = "71d0613351606ad48bd207e6f1a15e256ab64e16"
|
||||
SRCREV_qtinterfaceframework = "6aa51ce241c202f30a5850ae989e6cea33a82aba"
|
||||
SRCREV_qtlanguageserver = "d02a0dbc958d2380f97717b81166b8faf32e16a1"
|
||||
SRCREV_qtlocation = "5fbd1770198970eaf5f1cb7ac01ee226832b5157"
|
||||
SRCREV_qtlottie = "9d58c6e5041a734640a61cb67b8dfab7564b478a"
|
||||
SRCREV_qtmqtt = "4539829ba81f0112d5950ce44e144c7b7ae51df8"
|
||||
SRCREV_qtmultimedia = "26624e5522b7dfff2f9082705fa8278868fa2983"
|
||||
SRCREV_qtnetworkauth = "407d7cbb55139b598519e858107bb361a674e5c3"
|
||||
SRCREV_qtopcua = "bc9801ba2fb6901596f071a79b09d1d143b6ed75"
|
||||
SRCREV_qtpositioning = "e7a2852a8a001829db44e4c8d83ee8e98800f0c6"
|
||||
SRCREV_qtquick3d = "9dbdffb662559841b284df117c6360b0e8e587c8"
|
||||
SRCREV_qtquick3d-assimp = "647f94648c0ae24b9c6684383a9dbbc0e2fc23b7"
|
||||
SRCREV_qtquick3dphysics = "85f5ad2048d5fa11a0d9086cdb6a1dce549b44de"
|
||||
SRCREV_qtquickdesigner-components = "04a5f670d3e7ae28e54bf194a3dd70e13d05ffc4"
|
||||
SRCREV_qtquicktimeline = "9e0a9979f2fe9eeead3c16311d0e3b8d6d5bbb8d"
|
||||
SRCREV_qtremoteobjects = "392a215a2ad716b9cc60311da2d8b09af149753e"
|
||||
SRCREV_qtscxml = "253845885a6e293f0c4dbbd3d53131afd7b88f9c"
|
||||
SRCREV_qtsensors = "9a2f543f523bfe3519c4b7d2c56b03393d21fe88"
|
||||
SRCREV_qtserialbus = "19335acb87270d0768609b2e6bf708c7deac14ec"
|
||||
SRCREV_qtserialport = "125813ab104a417ea168eeda8842ca1a51a4453e"
|
||||
SRCREV_qtshadertools = "ce3904c1b29b8960b623dee229f7fabdc7d14bd0"
|
||||
SRCREV_qtspeech = "da727c8dcc725c0f213e17cf68b2e7616d87ae66"
|
||||
SRCREV_qtsvg = "f4de0d25d1faeb131b5fd6d37bd2ab2cbd27ab47"
|
||||
SRCREV_qttools = "3557f0897aa2624b633a0bb83f1970245de37e1f"
|
||||
SRCREV_qttools-qlitehtml = "5cab3a508ab3e38bf8ec192e6fad3be1dedd3587"
|
||||
SRCREV_qtquick3dphysics = "62de51b8840dc62b960087bd504f8107dc86e46a"
|
||||
SRCREV_qtquickdesigner-components = "8c9e0faa0dd8b8adf019e357212e59898a7bebfb"
|
||||
SRCREV_qtquicktimeline = "410381aa0b4d3f810a4c3d737c15315010ad9831"
|
||||
SRCREV_qtremoteobjects = "d75e657ef98ed4f66e9336140d60685419920652"
|
||||
SRCREV_qtscxml = "7b3f42a7c4a1ec1c62791f7995eb4dbf957ca68b"
|
||||
SRCREV_qtsensors = "ca75c684e7e96081114e82e88109f2528b51be31"
|
||||
SRCREV_qtserialbus = "aa161382a9e346f8f7159ac003eddda6a928d967"
|
||||
SRCREV_qtserialport = "9d313746c779d6c22e61b594e694b51150700d09"
|
||||
SRCREV_qtshadertools = "661130571df1a19bd10dd7705fe689cfde835dad"
|
||||
SRCREV_qtspeech = "b097fe8e5d3de28962f69ad032a10b68dfe116a3"
|
||||
SRCREV_qtsvg = "eac4588150968e3cdfcee06a4ccfa5aec4c4b938"
|
||||
SRCREV_qttools = "9e8f157b49c78c05abf8fa87da21e04cdf09780c"
|
||||
SRCREV_qttools-qlitehtml = "2992a310640697325791a5494ca8f4d4552de368"
|
||||
SRCREV_qttools-qlitehtml-litehtml = "6ca1ab0419e770e6d35a1ef690238773a1dafcee"
|
||||
SRCREV_qttranslations = "437e02421ddfad8ad0480f4ccf20b1abf647acbd"
|
||||
SRCREV_qtvirtualkeyboard = "8a59f19d1b0b56fa3430927e4800d278e8d53746"
|
||||
SRCREV_qtwayland = "a8018eced508e2afffba4dfb20d04a23a184d7f9"
|
||||
SRCREV_qtwebchannel = "a13deb0fbd2f0af0c23311b83c3783ab27140a56"
|
||||
SRCREV_qtwebengine = "bee04d31444c6dc2976beee9ad7d974f83633e41"
|
||||
SRCREV_qtwebengine-chromium = "4140e17e7f2935fcdd4816c4050e4d2eebda2be9"
|
||||
SRCREV_qtwebsockets = "508323d509354719754e12008b70199fe018d62b"
|
||||
SRCREV_qtwebview = "ac1a751e6f60748dc2a6bdf54569610fdc432efb"
|
||||
SRCREV_qttranslations = "7a90611fb6fc7656974587ff4b36e5fc886a7e48"
|
||||
SRCREV_qtvirtualkeyboard = "43f60b17037210e259aa91318342db2774d2c131"
|
||||
SRCREV_qtwayland = "b54d446eb64ef23a5e365d5b6ff6116c3a5b6051"
|
||||
SRCREV_qtwebchannel = "94fcdf86af308edfcac53103ac2db1e99c852d73"
|
||||
SRCREV_qtwebengine = "d0012809afa1ca30210948d281f48fbc7160fc0c"
|
||||
SRCREV_qtwebengine-chromium = "2001f9c899030483ffacf33603a1428abb1f83a9"
|
||||
SRCREV_qtwebsockets = "aed12a0013dffe3e0cd564fb23e83299affda941"
|
||||
SRCREV_qtwebview = "6ea3114440f44b6b0ba94c1514631c86ca3062b8"
|
||||
|
|
|
|||
|
|
@ -121,9 +121,7 @@ FILES:${PN}-staticdev += " \
|
|||
${QT6_INSTALL_QMLDIR}/*/*/*/*/objects*/ \
|
||||
"
|
||||
|
||||
# Note: INSTALL_EXAMPLESDIR is not used
|
||||
FILES:${PN}-examples = " \
|
||||
${QT6_INSTALL_EXAMPLESDIR} \
|
||||
${prefix}/examples \
|
||||
"
|
||||
RDEPENDS:${PN}-examples = "${PN}"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
From 4064b8757cbb28588fdff2529ea203bf3eabc579 Mon Sep 17 00:00:00 2001
|
||||
From 27896986b3c2930ccbbe062d3e7a0b7bcc08caf1 Mon Sep 17 00:00:00 2001
|
||||
From: Holger Freyther <zecke@selfish.org>
|
||||
Date: Wed, 26 Sep 2012 17:22:30 +0200
|
||||
Subject: [PATCH] qlibraryinfo: allow to set qt.conf from the outside using the
|
||||
|
|
@ -20,20 +20,20 @@ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
|||
1 file changed, 6 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/corelib/global/qlibraryinfo.cpp b/src/corelib/global/qlibraryinfo.cpp
|
||||
index 92729b06f1..dac7857600 100644
|
||||
index 4b116c54b2e..bfa21c997b4 100644
|
||||
--- a/src/corelib/global/qlibraryinfo.cpp
|
||||
+++ b/src/corelib/global/qlibraryinfo.cpp
|
||||
@@ -101,7 +101,12 @@ static QSettings *findConfiguration()
|
||||
@@ -103,7 +103,12 @@ static std::unique_ptr<QSettings> findConfiguration()
|
||||
if (qtconfManualPath)
|
||||
return new QSettings(*qtconfManualPath, QSettings::IniFormat);
|
||||
return std::make_unique<QSettings>(*qtconfManualPath, QSettings::IniFormat);
|
||||
|
||||
- QString qtconfig = QStringLiteral(":/qt/etc/qt.conf");
|
||||
+ QByteArray config = getenv("OE_QMAKE_QTCONF_PATH");
|
||||
+ QString qtconfig = QFile::decodeName(config);
|
||||
+ if (QFile::exists(qtconfig))
|
||||
+ return new QSettings(qtconfig, QSettings::IniFormat);
|
||||
+ return std::make_unique<QSettings>(qtconfig, QSettings::IniFormat);
|
||||
+
|
||||
+ qtconfig = QStringLiteral(":/qt/etc/qt.conf");
|
||||
if (QFile::exists(qtconfig))
|
||||
return new QSettings(qtconfig, QSettings::IniFormat);
|
||||
if (QResource(qtconfig, QLocale::c()).isValid())
|
||||
return std::make_unique<QSettings>(qtconfig, QSettings::IniFormat);
|
||||
#ifdef Q_OS_DARWIN
|
||||
|
|
|
|||
|
|
@ -19,10 +19,12 @@ include recipes-qt/qt6/qt6.inc
|
|||
|
||||
SRC_URI += "\
|
||||
file://0001-Add-linux-oe-g-platform.patch \
|
||||
file://0002-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch \
|
||||
file://0004-Fix-qt.toolchain.cmake-for-SDK-use.patch \
|
||||
file://0005-testlib-don-t-track-the-build-or-source-directories.patch \
|
||||
"
|
||||
SRC_URI:append:class-native = "\
|
||||
file://0002-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch \
|
||||
"
|
||||
|
||||
DEPENDS += "\
|
||||
patchelf-native \
|
||||
|
|
@ -53,8 +55,9 @@ PACKAGECONFIG_GRAPHICS ?= "\
|
|||
${@bb.utils.filter('DISTRO_FEATURES', 'vulkan', d)} \
|
||||
${@bb.utils.filter('DISTRO_FEATURES', 'wayland', d)} \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', \
|
||||
bb.utils.contains('DISTRO_FEATURES', 'x11', 'gl', 'kms gbm gles2 eglfs', d), 'no-opengl linuxfb', d)} \
|
||||
bb.utils.contains('DISTRO_FEATURES', 'x11', 'gl', 'kms gbm gles2 eglfs', d), 'no-opengl', d)} \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'directfb', 'directfb', '', d)} \
|
||||
linuxfb \
|
||||
"
|
||||
PACKAGECONFIG_X11 ?= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xcb', '', d)}"
|
||||
PACKAGECONFIG_KDE ?= "${@bb.utils.contains('DISTRO_FEATURES', 'kde', 'sm cups kms gbm sql-sqlite', '', d)}"
|
||||
|
|
@ -94,8 +97,8 @@ OPENSSL_LINKING_MODE ?= "runtime"
|
|||
QT_QPA_DEFAULT_PLATFORM ?= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xcb', \
|
||||
bb.utils.contains('PACKAGECONFIG', 'gles2', 'eglfs', 'linuxfb', d), d)}"
|
||||
|
||||
# at-spi bridge requires XCB currently
|
||||
ACCESSIBILITY_DEPENDS = "${@bb.utils.contains("DISTRO_FEATURES", "x11", "at-spi2-core", "", d)}"
|
||||
# at-spi bridge is used by XCB and wayland
|
||||
ACCESSIBILITY_DEPENDS = "${@bb.utils.contains_any("DISTRO_FEATURES", "x11 wayland", "at-spi2-core", "", d)}"
|
||||
|
||||
PACKAGECONFIG[ltcg] = "-DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON,-DCMAKE_INTERPROCEDURAL_OPTIMIZATION=OFF"
|
||||
PACKAGECONFIG[optimize-size] = "-DFEATURE_optimize_size=ON,-DFEATURE_optimize_size=OFF"
|
||||
|
|
@ -194,6 +197,11 @@ do_install:append() {
|
|||
rm -f ${D}${QT6_INSTALL_MKSPECSDIR}/features/uikit/device_destinations.sh
|
||||
rm -f ${D}${QT6_INSTALL_MKSPECSDIR}/features/data/mac/objc_namespace.sh
|
||||
|
||||
if [ -e ${D}${QT6_INSTALL_EXAMPLESDIR}/corelib/serialization/cbordump/cbortag.py ]; then
|
||||
sed -i ${D}${QT6_INSTALL_EXAMPLESDIR}/corelib/serialization/cbordump/cbortag.py \
|
||||
-e 's|/bin/env|/usr/bin/env|'
|
||||
fi
|
||||
|
||||
# remove unneeded files that contains reference to TMPDIR [buildpaths]
|
||||
rm -f ${D}${QT6_INSTALL_BINDIR}/host-*
|
||||
rm -f ${D}${QT6_INSTALL_BINDIR}/target_qt.conf
|
||||
|
|
@ -207,7 +215,10 @@ EOF
|
|||
|
||||
RELPATH="${@os.path.relpath(d.getVar('bindir'), d.getVar('QT6_INSTALL_BINDIR'))}"
|
||||
sed -i ${D}${QT6_INSTALL_BINDIR}/* \
|
||||
-i ${D}${QT6_INSTALL_LIBEXECDIR}/* \
|
||||
-e "s|cmake_path=${RECIPE_SYSROOT_NATIVE}.*cmake|cmake_path=%script_dir_path%/$RELPATH/cmake.exe|" \
|
||||
-e "s|${RECIPE_SYSROOT_NATIVE}.*cmake|\$script_dir_path/$RELPATH/cmake|"
|
||||
RELPATH="${@os.path.relpath(d.getVar('bindir'), d.getVar('QT6_INSTALL_LIBEXECDIR'))}"
|
||||
sed -i ${D}${QT6_INSTALL_LIBEXECDIR}/* \
|
||||
-e "s|cmake_path=${RECIPE_SYSROOT_NATIVE}.*cmake|cmake_path=%script_dir_path%/$RELPATH/cmake.exe|" \
|
||||
-e "s|${RECIPE_SYSROOT_NATIVE}.*cmake|\$script_dir_path/$RELPATH/cmake|"
|
||||
|
||||
|
|
|
|||
|
|
@ -14,9 +14,10 @@ inherit qt6-cmake
|
|||
include recipes-qt/qt6/qt6-git.inc
|
||||
include recipes-qt/qt6/qt6.inc
|
||||
|
||||
DEPENDS += "qtbase qtdeclarative qtdeclarative-native"
|
||||
DEPENDS += "qtbase"
|
||||
|
||||
PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)}"
|
||||
PACKAGECONFIG[bluez] = "-DFEATURE_bluez=ON,-DFEATURE_bluez=OFF,bluez5"
|
||||
PACKAGECONFIG[examples] = "-DQT_BUILD_EXAMPLES=ON,-DQT_BUILD_EXAMPLES=OFF,qtdeclarative qtdeclarative-native"
|
||||
|
||||
FILES:${PN}-tools = ""
|
||||
|
|
|
|||
|
|
@ -29,13 +29,13 @@ DEPENDS += "\
|
|||
qtsvg \
|
||||
qtwebsockets \
|
||||
"
|
||||
DEPENDS:append:aarch64 = " ${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtpdf', '', d)} qtquick3dphysics"
|
||||
DEPENDS:append:aarch64 = " ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qtpdf', '', d)} qtquick3dphysics"
|
||||
DEPENDS:append:arm = " qtquick3dphysics"
|
||||
DEPENDS:append:armv6 = " ${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtpdf', '', d)}"
|
||||
DEPENDS:append:armv7a = " ${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtpdf', '', d)}"
|
||||
DEPENDS:append:armv7ve = " ${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtpdf', '', d)}"
|
||||
DEPENDS:append:armv6 = " ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qtpdf', '', d)}"
|
||||
DEPENDS:append:armv7a = " ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qtpdf', '', d)}"
|
||||
DEPENDS:append:armv7ve = " ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qtpdf', '', d)}"
|
||||
DEPENDS:append:x86 = " qtquick3dphysics"
|
||||
DEPENDS:append:x86-64 = " ${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtpdf', '', d)} qtquick3dphysics"
|
||||
DEPENDS:append:x86-64 = " ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'qtpdf', '', d)} qtquick3dphysics"
|
||||
|
||||
PACKAGECONFIG ?= "examples"
|
||||
|
||||
|
|
|
|||
|
|
@ -17,7 +17,8 @@ SRC_URI += "file://0001-Remove-the-export-of-QT_PROTO_INCLUDES-property.patch"
|
|||
|
||||
DEPENDS += "qtbase qtgrpc-native protobuf protobuf-native"
|
||||
|
||||
PACKAGECONFIG[examples] = "-DQT_BUILD_EXAMPLES=ON,-DQT_BUILD_EXAMPLES=OFF,qtdeclarative qtdeclarative-native"
|
||||
PACKAGECONFIG ?= "qml"
|
||||
PACKAGECONFIG[qml] = "-DFEATURE_grpcquick=ON,-DFEATURE_grpcquick=OFF,qtdeclarative qtdeclarative-native"
|
||||
|
||||
# workaround for missing protobuf support on kirkstone
|
||||
ALLOW_EMPTY:${PN}-tools = "1"
|
||||
|
|
|
|||
|
|
@ -24,8 +24,11 @@ inherit qt6-cmake
|
|||
include recipes-qt/qt6/qt6-git.inc
|
||||
include recipes-qt/qt6/qt6.inc
|
||||
|
||||
PACKAGECONFIG ?= "qml"
|
||||
PACKAGECONFIG ?= "qml open62541"
|
||||
PACKAGECONFIG:class-native ?= ""
|
||||
PACKAGECONFIG:class-nativesdk ?= ""
|
||||
PACKAGECONFIG[qml] = ",,qtdeclarative qtdeclarative-native"
|
||||
PACKAGECONFIG[open62541] = "-DFEATURE_open62541=ON,-DFEATURE_open62541=OFF,openssl"
|
||||
|
||||
# src/3rdparty/open62541.pri adds -Wno-format, causing following error
|
||||
# because -Wformat-security cannot be used together with -Wno-format
|
||||
|
|
|
|||
|
|
@ -34,6 +34,5 @@ do_install:append() {
|
|||
# remove conflicting files with QtWebEngine
|
||||
rm -f ${D}${libdir}/cmake/Qt6BuildInternals/StandaloneTests/QtWebEngineTestsConfig.cmake
|
||||
rm -f ${D}${libdir}/cmake/Qt6/Find*.cmake
|
||||
# rename sbom
|
||||
mv ${D}${libdir}/sbom/qtwebengine-${QT_VERSION}.spdx ${D}${libdir}/sbom/qtpdf-${QT_VERSION}.spdx
|
||||
rm -f ${D}${libdir}/sbom/qtwebengine*
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = " \
|
|||
file://LICENSES/HPND-sell-variant.txt;md5=46bb75504ccdcac579aa4fee538e6c39 \
|
||||
file://LICENSES/LGPL-3.0-only.txt;md5=e6a600fd5e1d9cbde2d983680233ad02 \
|
||||
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
|
||||
file://src/svg/XSVG_LICENSE.txt;md5=46bb75504ccdcac579aa4fee538e6c39 \
|
||||
file://src/svg/LICENSE.XSVG.txt;md5=46bb75504ccdcac579aa4fee538e6c39 \
|
||||
"
|
||||
|
||||
inherit qt6-cmake
|
||||
|
|
|
|||
|
|
@ -25,10 +25,13 @@ SRC_URI += " \
|
|||
|
||||
DEPENDS += "qtbase qtdeclarative qttools-native"
|
||||
|
||||
QTTOOLS_USE_CLANG ?= "${@ 'clang' if bb.utils.vercmp_string_op(d.getVar('LLVMVERSION') or '', '17', '>') else ''}"
|
||||
CAN_USE_CLANG = "${@True if bb.utils.vercmp_string_op(d.getVar('LLVMVERSION') or '', '17', '>') or \
|
||||
os.path.exists(os.path.join(d.getVar('COREBASE'),'meta/recipes-devtools/clang')) else False}"
|
||||
CAN_USE_CLANG:mingw32 = "False"
|
||||
|
||||
QTTOOLS_USE_CLANG ?= "${@ 'clang' if bb.utils.to_boolean(d.getVar('CAN_USE_CLANG')) else ''}"
|
||||
PACKAGECONFIG:class-native = "${QTTOOLS_USE_CLANG}"
|
||||
PACKAGECONFIG:class-nativesdk = "${QTTOOLS_USE_CLANG}"
|
||||
PACKAGECONFIG:remove:mingw32 = "${QTTOOLS_USE_CLANG}"
|
||||
|
||||
PACKAGECONFIG[clang] = "-DFEATURE_clang=ON,-DFEATURE_clang=OFF,clang"
|
||||
|
||||
|
|
|
|||
|
|
@ -27,4 +27,4 @@ python split_translation_packages () {
|
|||
d.setVar('RRECOMMENDS:' + pn, ' '.join(pkgs))
|
||||
}
|
||||
|
||||
FILES:${PN}-dev = "${QT6_INSTALL_TRANSLATIONSDIR}/catalogs.json"
|
||||
FILES:${PN}-dev += "${QT6_INSTALL_TRANSLATIONSDIR}/catalogs.json"
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = " \
|
|||
file://LICENSES/LicenseRef-Qt-Commercial.txt;md5=40a1036f91cefc0e3fabad241fb5f187 \
|
||||
file://LICENSES/Qt-GPL-exception-1.0.txt;md5=9a13522cd91a88fba784baf16ea66af8 \
|
||||
file://src/plugins/openwnn/3rdparty/openwnn/NOTICE;md5=50e3e853eb9dd5ccdf6192678106b3da \
|
||||
file://src/plugins/pinyin/3rdparty/pinyin/NOTICE;md5=506fbea94b9d051d6478776c50a4c66b \
|
||||
file://src/plugins/pinyin/3rdparty/pinyin/NOTICE;md5=42ec637ebc122938c27a784b351dafef \
|
||||
file://src/plugins/tcime/3rdparty/tcime/COPYING;md5=1474257e03071e0ffb9ed0db6dac8954 \
|
||||
"
|
||||
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ REQUIRED_DISTRO_FEATURES = "wayland"
|
|||
include recipes-qt/qt6/qt6-git.inc
|
||||
include recipes-qt/qt6/qt6.inc
|
||||
|
||||
SRC_URI +="\
|
||||
SRC_URI += "\
|
||||
file://0001-Allow-qtwaylandscanner-to-be-built-without-dependenc.patch \
|
||||
"
|
||||
|
||||
|
|
|
|||
|
|
@ -21,12 +21,15 @@ inherit gettext
|
|||
inherit perlnative
|
||||
inherit python3native
|
||||
|
||||
inherit features_check
|
||||
REQUIRED_DISTRO_FEATURES = "opengl"
|
||||
|
||||
# we don't want gettext.bbclass to append --enable-nls
|
||||
def gettext_oeconf(d):
|
||||
return ""
|
||||
|
||||
QT_MODULE = "qtwebengine"
|
||||
QT_MODULE_BRANCH_CHROMIUM = "126-based"
|
||||
QT_MODULE_BRANCH_CHROMIUM = "130-based"
|
||||
|
||||
FILESEXTRAPATHS:prepend := "${THISDIR}/qtwebengine:"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
From efa68fdedbec60380946f69a6a2f985958148e83 Mon Sep 17 00:00:00 2001
|
||||
From a485259228b3692e7874c6d5a2b41f91da47fa4c Mon Sep 17 00:00:00 2001
|
||||
From: Samuli Piippo <samuli.piippo@qt.io>
|
||||
Date: Wed, 18 Aug 2021 15:09:41 +0300
|
||||
Subject: [PATCH] CMake: use generated yocto toolchains
|
||||
|
|
@ -11,15 +11,15 @@ target binaries where needed.
|
|||
Upstream-Status: Inappropriate [embedded specific]
|
||||
Change-Id: I217c9122144f25bb2d28717e7248c2a51b149127
|
||||
---
|
||||
cmake/Functions.cmake | 12 +++++-------
|
||||
src/CMakeLists.txt | 2 +-
|
||||
cmake/QtToolchainHelpers.cmake | 12 +++++-------
|
||||
src/CMakeLists.txt | 2 +-
|
||||
2 files changed, 6 insertions(+), 8 deletions(-)
|
||||
|
||||
diff --git a/cmake/Functions.cmake b/cmake/Functions.cmake
|
||||
index 3371e5ff5..ac889d3f7 100644
|
||||
--- a/cmake/Functions.cmake
|
||||
+++ b/cmake/Functions.cmake
|
||||
@@ -825,7 +825,7 @@ endfunction()
|
||||
diff --git a/cmake/QtToolchainHelpers.cmake b/cmake/QtToolchainHelpers.cmake
|
||||
index eaa3a4339..9a6d57945 100644
|
||||
--- a/cmake/QtToolchainHelpers.cmake
|
||||
+++ b/cmake/QtToolchainHelpers.cmake
|
||||
@@ -210,7 +210,7 @@ endfunction()
|
||||
|
||||
macro(create_pkg_config_host_wrapper buildDir)
|
||||
find_package(PkgConfigHost)
|
||||
|
|
@ -28,7 +28,7 @@ index 3371e5ff5..ac889d3f7 100644
|
|||
create_pkg_config_wrapper("${buildDir}/pkg-config-host_wrapper.sh" "${PKG_CONFIG_HOST_EXECUTABLE}")
|
||||
set(PKG_CONFIG_HOST_EXECUTABLE "${buildDir}/pkg-config-host_wrapper.sh")
|
||||
endif()
|
||||
@@ -1097,14 +1097,12 @@ macro(append_toolchain_setup)
|
||||
@@ -551,14 +551,12 @@ macro(append_toolchain_setup)
|
||||
elseif(LINUX)
|
||||
get_gn_arch(cpu ${TEST_architecture_arch})
|
||||
list(APPEND gnArgArg
|
||||
|
|
@ -48,14 +48,14 @@ index 3371e5ff5..ac889d3f7 100644
|
|||
list(APPEND gnArgArg host_cpu="${cpu}")
|
||||
endif()
|
||||
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
|
||||
index 0084697f2..1c9059ae6 100644
|
||||
index 453b2c1b6..6b8c5c254 100644
|
||||
--- a/src/CMakeLists.txt
|
||||
+++ b/src/CMakeLists.txt
|
||||
@@ -161,7 +161,7 @@ endif()
|
||||
@@ -114,7 +114,7 @@ endif()
|
||||
# HOST PROJECT
|
||||
##
|
||||
|
||||
-if(CMAKE_CROSSCOMPILING AND NOT IOS AND NOT MACOS)
|
||||
-if(CMAKE_CROSSCOMPILING AND NOT IOS AND NOT MACOS AND NOT WIN32)
|
||||
+if(FALSE)
|
||||
|
||||
if(NOT Gn_FOUND)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
From 23d02fd87c766b6aef2a5aa81186b3db3f13b82a Mon Sep 17 00:00:00 2001
|
||||
From 03c0f7089ee4f54883073f9df23d379da35c9f35 Mon Sep 17 00:00:00 2001
|
||||
From: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>
|
||||
Date: Tue, 7 Nov 2017 15:24:32 +0100
|
||||
Subject: [PATCH] v8: qemu wrapper
|
||||
|
|
@ -16,10 +16,10 @@ Signed-off-by: Maksim Sisov <msisov@igalia.com>
|
|||
2 files changed, 5 insertions(+)
|
||||
|
||||
diff --git a/chromium/tools/v8_context_snapshot/BUILD.gn b/chromium/tools/v8_context_snapshot/BUILD.gn
|
||||
index d868696dbf2..298273818ef 100644
|
||||
index 35c8c606a22..d3097e55e56 100644
|
||||
--- a/chromium/tools/v8_context_snapshot/BUILD.gn
|
||||
+++ b/chromium/tools/v8_context_snapshot/BUILD.gn
|
||||
@@ -72,6 +72,7 @@ if (use_v8_context_snapshot) {
|
||||
@@ -46,6 +46,7 @@ if (use_v8_context_snapshot) {
|
||||
output_path = rebase_path(output_file, root_build_dir)
|
||||
|
||||
args = [
|
||||
|
|
@ -28,10 +28,10 @@ index d868696dbf2..298273818ef 100644
|
|||
"root_out_dir") +
|
||||
"/v8_context_snapshot_generator",
|
||||
diff --git a/chromium/v8/BUILD.gn b/chromium/v8/BUILD.gn
|
||||
index 2f99c3d70b0..9b28cf2ed4c 100644
|
||||
index dcc3acbf8b3..c1fc540971a 100644
|
||||
--- a/chromium/v8/BUILD.gn
|
||||
+++ b/chromium/v8/BUILD.gn
|
||||
@@ -1870,6 +1870,7 @@ template("run_torque") {
|
||||
@@ -2240,6 +2240,7 @@ template("run_torque") {
|
||||
}
|
||||
|
||||
args = [
|
||||
|
|
@ -39,7 +39,7 @@ index 2f99c3d70b0..9b28cf2ed4c 100644
|
|||
"./" + rebase_path(
|
||||
get_label_info(":torque($toolchain)", "root_out_dir") + "/torque",
|
||||
root_build_dir),
|
||||
@@ -2002,6 +2003,7 @@ action("generate_bytecode_builtins_list") {
|
||||
@@ -2403,6 +2404,7 @@ action("generate_bytecode_builtins_list") {
|
||||
outputs = [ "$target_gen_dir/builtins-generated/bytecodes-builtins-list.h" ]
|
||||
deps = [ ":bytecode_builtins_list_generator($v8_generator_toolchain)" ]
|
||||
args = [
|
||||
|
|
@ -47,15 +47,15 @@ index 2f99c3d70b0..9b28cf2ed4c 100644
|
|||
"./" + rebase_path(
|
||||
get_label_info(
|
||||
":bytecode_builtins_list_generator($v8_generator_toolchain)",
|
||||
@@ -2047,6 +2049,7 @@ template("run_mksnapshot") {
|
||||
data = []
|
||||
@@ -2475,6 +2477,7 @@ template("run_mksnapshot") {
|
||||
}
|
||||
|
||||
args = [
|
||||
args += [
|
||||
+ "../../../../v8-qemu-wrapper.sh",
|
||||
"./" + rebase_path(get_label_info(":mksnapshot($v8_snapshot_toolchain)",
|
||||
"root_out_dir") + "/mksnapshot",
|
||||
root_build_dir),
|
||||
@@ -5849,6 +5852,7 @@ if (v8_enable_i18n_support) {
|
||||
@@ -7515,6 +7518,7 @@ if (v8_enable_i18n_support) {
|
||||
outputs = [ output_file ]
|
||||
|
||||
args = [
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@ PACKAGECONFIG[libvpx] = "-DFEATURE_webengine_system_libvpx=ON,-DFEATURE_webengin
|
|||
PACKAGECONFIG[libwebp] = "-DFEATURE_webengine_system_libwebp=ON,-DFEATURE_webengine_system_libwebp=OFF,libwebp libwebp-native"
|
||||
PACKAGECONFIG[libxml] = "-DFEATURE_webengine_system_libxml=ON,-DFEATURE_webengine_system_libxml=OFF,libxml2 libxslt"
|
||||
PACKAGECONFIG[opus] = "-DFEATURE_webengine_system_opus=ON,-DFEATURE_webengine_system_opus=OFF,libopus"
|
||||
PACKAGECONFIG[ozone-x11] = "-DFEATURE_webengine_ozone_x11=ON,-DFEATURE_webengine_ozone_x11=OFF,libxcomposite libxcursor libxi libxrandr libxtst libxkbfile libxdamage virtual/libgl"
|
||||
PACKAGECONFIG[ozone-x11] = "-DFEATURE_webengine_ozone_x11=ON,-DFEATURE_webengine_ozone_x11=OFF,libxcomposite libxcursor libxi libxrandr libxtst libxkbfile libxdamage libxshmfence libdrm virtual/libgl"
|
||||
PACKAGECONFIG[libpci] = "-DFEATURE_webengine_system_libpci=ON,-DFEATURE_webengine_system_libpci=OFF,pciutils"
|
||||
PACKAGECONFIG[pepper-plugins] = "-DFEATURE_webengine_pepper_plugins=ON,-DFEATURE_webengine_pepper_plugins=OFF"
|
||||
PACKAGECONFIG[printing-and-pdf] = "-DFEATURE_webengine_printing_and_pdf=ON,-DFEATURE_webengine_printing_and_pdf=OFF,cups"
|
||||
|
|
@ -74,6 +74,11 @@ PACKAGECONFIG[webrtc] = "-DFEATURE_webengine_webrtc=ON,-DFEATURE_webengine_webrt
|
|||
PACKAGECONFIG[webrtc-pipewire] = "-DFEATURE_webengine_webrtc_pipewire=ON,-DFEATURE_webengine_webrtc_pipewire=OFF,pipewire glib-2.0 libepoxy virtual/libgbm"
|
||||
PACKAGECONFIG[zlib] = "-DFEATURE_webengine_system_zlib=ON -DFEATURE_webengine_system_minizip=ON,-DFEATURE_webengine_system_zlib=OFF -DFEATURE_webengine_system_minizip=OFF,zlib minizip"
|
||||
|
||||
do_install:append() {
|
||||
# remove conflicting files with QtPdf
|
||||
rm -f ${D}${libdir}/sbom/qtpdf*
|
||||
}
|
||||
|
||||
FILES:${PN} += "\
|
||||
${QT6_INSTALL_TRANSLATIONSDIR} \
|
||||
${QT6_INSTALL_DATADIR}/resources \
|
||||
|
|
|
|||
116
recipes-qt/squish/squish_9.0.1.bb
Normal file
116
recipes-qt/squish/squish_9.0.1.bb
Normal file
|
|
@ -0,0 +1,116 @@
|
|||
LICENSE = "Squish-Commercial-License-Agreement"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a25acc1c5f693af9921102a049958aa8"
|
||||
|
||||
EXCLUDE_FROM_WORLD = "1"
|
||||
|
||||
inherit qt6-qmake
|
||||
|
||||
# location where Squish release packages can be downloaded
|
||||
SQUISH_MIRROR ?= ""
|
||||
SQUISH_LICENSE_KEY ?= ""
|
||||
|
||||
python __anonymous() {
|
||||
if not (d.getVar('SQUISH_MIRROR') and d.getVar('SQUISH_LICENSE_KEY')):
|
||||
raise bb.parse.SkipRecipe("You need to define SQUISH_MIRROR and SQUISH_LICENSE_KEY in the config", d)
|
||||
}
|
||||
|
||||
SQUISH_INSTALLER = "squish-${PV}-qt69x-linux64.run"
|
||||
|
||||
SRC_URI = "\
|
||||
${SQUISH_MIRROR}/${SQUISH_INSTALLER};name=squish \
|
||||
${SQUISH_MIRROR}/squish-${PV}-qt-embedded-src.tar.gz;name=qt-squish-embedded \
|
||||
"
|
||||
|
||||
SRC_URI[squish.sha256sum] = "4bad3059b3c24e1cbedea4ae261e0a1789ac0c4b74083c5216c8e4434354c53c"
|
||||
SRC_URI[qt-squish-embedded.sha256sum] = "91201fcd038e48d7fefc68a3ad25dc6814999129679600e130e5451cd1a37d4f"
|
||||
|
||||
S = "${WORKDIR}/squish-${PV}-qt-embedded-src"
|
||||
B = "${WORKDIR}/build"
|
||||
|
||||
DEPENDS += "\
|
||||
qtbase \
|
||||
qt5compat \
|
||||
"
|
||||
|
||||
PACKAGECONFIG ?= "\
|
||||
appman \
|
||||
qml \
|
||||
${@bb.utils.filter('DISTRO_FEATURES', 'wayland', d)} \
|
||||
"
|
||||
PACKAGECONFIG[appman] = ",,qtapplicationmanager"
|
||||
PACKAGECONFIG[qml] = ",,qtdeclarative qtdeclarative-native"
|
||||
PACKAGECONFIG[wayland] = "--enable-wayland,--disable-wayland,qtwayland qtwayland-native wayland wayland-native"
|
||||
|
||||
lcl_maybe_fortify = ""
|
||||
OE_QMAKE_PATH_HOST_LIBEXECS = "${STAGING_DIR_NATIVE}/${QT6_INSTALL_LIBEXECDIR}"
|
||||
|
||||
do_install_squish[cleandirs] = "${WORKDIR}/squish"
|
||||
do_install_squish[network] = "1"
|
||||
do_install_squish() {
|
||||
SQUISH_INSTALLER=${UNPACKDIR}/${SQUISH_INSTALLER}
|
||||
if [ ! -e $SQUISH_INSTALLER ]; then
|
||||
SQUISH_INSTALLER=${WORKDIR}/${SQUISH_INSTALLER}
|
||||
fi
|
||||
chmod +x $SQUISH_INSTALLER
|
||||
TMPDIR=${WORKDIR}/tmp XDG_RUNTIME_DIR=${WORKDIR}/tmp $SQUISH_INSTALLER \
|
||||
-platform minimal unattended=1 targetdir=${WORKDIR}/squish ide=0 \
|
||||
licensekey=${SQUISH_LICENSE_KEY}
|
||||
}
|
||||
|
||||
do_configure() {
|
||||
${S}/configure \
|
||||
--disable-all \
|
||||
--enable-qmake-config \
|
||||
--enable-qt \
|
||||
--enable-server \
|
||||
--with-qmake=${STAGING_DIR_NATIVE}${QT6_INSTALL_BINDIR}/qmake \
|
||||
--with-squishidl=${WORKDIR}/squish/bin/squishidl \
|
||||
${PACKAGECONFIG_CONFARGS}
|
||||
}
|
||||
|
||||
do_compile() {
|
||||
./build ${@oe.utils.parallel_make_argument(d, '-j%d')}
|
||||
}
|
||||
|
||||
do_install() {
|
||||
DESTDIR=${D}/opt/squish
|
||||
./build install DESTDIR=${DESTDIR}
|
||||
|
||||
install -d ${D}${QT6_INSTALL_PLUGINSDIR}
|
||||
mv ${DESTDIR}/plugins/* ${D}${QT6_INSTALL_PLUGINSDIR}
|
||||
rmdir ${DESTDIR}/plugins
|
||||
|
||||
sed -i -e 's|${RECIPE_SYSROOT}||' ${D}/opt/squish/etc/paths.ini
|
||||
|
||||
if [ -e ${D}/opt/squish/etc/squish-appman-hook.yaml ]; then
|
||||
sed -i -e 's|PATH_TO_SQUISH|/opt/squish|' ${D}/opt/squish/etc/squish-appman-hook.yaml
|
||||
fi
|
||||
|
||||
install -d ${D}${sysconfdir}/profile.d
|
||||
cat > ${D}${sysconfdir}/profile.d/squish.sh <<EOF
|
||||
export SQUISH_PREFIX=/opt/squish
|
||||
export PATH="\$PATH:/opt/squish/bin"
|
||||
EOF
|
||||
}
|
||||
|
||||
FILES:${PN} += "\
|
||||
${QT6_INSTALL_PLUGINSDIR} \
|
||||
/opt/squish \
|
||||
"
|
||||
FILES:${PN}-dev += "\
|
||||
/opt/squish/qtbuiltinhook.pri \
|
||||
/opt/squish/LICENSE.txt \
|
||||
/opt/squish/include \
|
||||
/opt/squish/lib/cmake \
|
||||
/opt/squish/sdk \
|
||||
"
|
||||
FILES:${PN}-dev:remove = "${FILES_SOLIBSDEV}"
|
||||
FILES:${PN}-staticdev += "\
|
||||
${QT6_INSTALL_PLUGINSDIR}/generic/*.a \
|
||||
/opt/squish/lib/*.a \
|
||||
/opt/squish/lib/extensions/qt/*.a \
|
||||
"
|
||||
|
||||
addtask install_squish after do_unpack before do_configure
|
||||
|
||||
INSANE_SKIP:${PN}-src += "buildpaths"
|
||||
Loading…
Reference in New Issue
Block a user