Commit Graph

17 Commits

Author SHA1 Message Date
Artem Panfilov
b6767f3b20 python-pyqt5: remove PyQt_qreal_double from DISABLED_FEATURES
Since Qt 5.2.0 the qreal is double (see change d8bf317546bc in qtbase.git).

Signed-off-by: Artem Panfilov <panfilov.artyom@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-04-13 13:36:17 +02:00
Artem Panfilov
6a9c0acbad python-pyqtchart: remove PyQt_qreal_double from DISABLED_FEATURES
Since Qt 5.2.0 the qreal is double (see change d8bf317546bc in qtbase.git).

Signed-off-by: Artem Panfilov <panfilov.artyom@gmail.com>
2020-03-18 17:54:51 +01:00
Martin Jansa
0bdbb344bc python-pyqt5: disable whole PyQt_OpenGL and QtWidgets, QtQuickWidgets, QtQuick modules without opengl in DISTRO_FEATURES
* fixes:
  sip: QOpenGLFramebufferObject is undefined
  in default nodistro setup without opengl in DISTRO_FEATURES

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-02-19 19:58:05 +01:00
Adrian Fiergolski
e9a09ca3f2 Add PyQtChart.
Signed-off-by: Adrian Fiergolski <adrian.fiergolski@fastree3d.com>
2020-02-19 19:09:46 +01:00
Martin Jansa
25d0fa6057 Revert "pyqt5: Upgrade to 5.13.2"
This reverts commit 02715fff5e.

This version is too new for sip version in meta-oe/zeus:
Error: This version of PyQt5 requires sip 4.19.19 or later.

It was accidentally merged with other build fixes when re-syncing
master and zeus before 5.14 upgrade in master.

This is needed also for the newly added python-pyqtchart recipe.
2020-02-19 18:19:36 +01:00
Khem Raj
02715fff5e pyqt5: Upgrade to 5.13.2
Blacklist py2 version, it does not build and py2 is on its way out in
Jan 2020 anyway

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-20 13:51:18 +01:00
Francesco Mocci
267e646125 python(3)-pyqt5: add qml support
* drop unnecessary PYQT_MODULES override with the same value

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2019-10-31 15:26:31 +00:00
Philip Balister
ba08444f42 python-pyqt5: Update to version 5.12.1.
Signed-off-by: Philip Balister <philip@opensdr.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2019-05-12 10:03:00 +00:00
Philip Balister
6a1a387a50 python-pyqt: Fix annoying problems.
* Python ABI only applies to include files.

Signed-off-by: Philip Balister <philip@opensdr.com>
2019-05-12 10:01:39 +00:00
Khem Raj
f22750291b python-pyqt5: MAKEFLAGS pass -j 1 via MAKEFLAGS during do_install
The fix to reset PARALLEL_MAKEINST isnt enough here because qmake
bbclass creates EXTRA_OEMAKE where it passes the -jX via MAKEFLAGS
its better to set MAKEFLAGS in do_install to undo that effect

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-29 07:16:36 -02:00
Khem Raj
18f82a8b32 python-pyqt5: Disable parallel install
Avoid certain race during do_install

|   File
"/mnt/a/yoe/build/tmp/work/cortexa7t2hf-neon-vfpv4-yoe-linux-gnueabi/python-pyqt5/5.11.3-r0/PyQt5_gpl-5.11.3/mk_distinfo.py",
line 108, in <module>
|     fn_f = open(fn, 'rb')
| FileNotFoundError: [Errno 2] No such file or directory:
'/mnt/a/yoe/build/tmp/work/cortexa7t2hf-neon-vfpv4-yoe-linux-gnueabi/python-pyqt5/5.11.3-r0/image//usr/lib/python2.7/site-packages/PyQt5/QtCore.so'

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-20 16:09:52 +00:00
Philip Balister
fd1f0f4731 python-pyqt5: Update to 5.11.3 and add python3 recipe.
Signed-off-by: Philip Balister <philip@opensdr.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-11-13 11:09:05 +00:00
Martin Jansa
b716195f60 qmake5_paths: change the default QT_DIR_NAME to be empty
* there aren't many people using qt4 and qt5 in the same
  image anymore, it's time to stop using this work around
  and to follow default packaging rules

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-09-25 09:22:18 +00:00
Martin Jansa
03b4c7b669 qt: remove unnecessary FILES.*-dbg variables for packaging .debug files
* package.bbclass can do it automatically since:
  commit da5ec06814e105451cca11cce76b5c5231110524
  Author: Richard Purdie <richard.purdie@linuxfoundation.org>
  Date:   Tue Dec 15 15:38:54 2015 +0000

    package: Add auto package splitting of .debug files

* .debug files for examples were incorrectly picked by qtbase-qmlplugins-dbg
  causing following QE error, because unlike qtbase-examples-dbg we don't
  have libdir in INSANE_SKIP.

  ERROR: qtbase-5.11.2+gitAUTOINC+49efea26a5-r0 do_package_qa: QA Issue: qtbase-qmlplugins-dbg: found library in wrong location: /usr/share/qt5/examples/widgets/tools/plugandpaint/plugins/.debug/libpnp_extrafilters.so
  qtbase-qmlplugins-dbg: found library in wrong location: /usr/share/qt5/examples/widgets/tools/styleplugin/styles/.debug/libsimplestyleplugin.so
  qtbase-qmlplugins-dbg: found library in wrong location: /usr/share/qt5/examples/widgets/tools/echoplugin/plugins/.debug/libechoplugin.so [libdir]
  ERROR: qtbase-5.11.2+gitAUTOINC+49efea26a5-r0 do_package_qa: QA run found fatal errors. Please consider fixing them.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-09-19 16:36:36 +00:00
Diego Rondini
e199d801f8 python-pyqt5: update recipe to 5.10.1
Update recipe to version 5.10.1, removing upstreamed patches in the process.

Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-06-21 18:37:08 +00:00
Diego Rondini
3c4f2cba1f python-pyqt5: include QtWidgets module
Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-21 11:00:47 +02:00
Philip Balister
6605c48f3a python-pyqt5: Add recipe.
* Build tested on raspberrypi3
 * I promise to chase the patch upstream.
 * v2 auto detects QT_VERSION

Signed-off-by: Philip Balister <philip@balister.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-05-16 09:35:13 +02:00