https://bugs.kde.org/show_bug.cgi?id=427856
Bug ID: 427856
Summary: Enable build with OpenGL ES-only systems (mainly ARM)
Product: krita
Version: git master
Platform: unspecified
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: General
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
After a bit of help on IRC, `wrn` was able to build Krita from source for
Raspberry Pi 4 after some changes to the source. They also posted their
experience [1]. It would be nice if Krita can fix its build issues and
re-enable the flatpak arm/aarch64 builds and other distro packages.
I also have a few extra notes and questions:
- Do *not* assume that ARM only has OpenGL ES available. Incidentally, Debian
on Aarch64 builds Qt with desktop OpenGL support (see also QTBUG-72128 [2]
and the mailing list thread linked in the comments). Therefore, any checks
should rely on Qt's defines and not the target ARCH.
- Why would Krita need to set `QT_OPENGL_ES_3` (also related to Android)?
Surely it is supposed to be set by Qt as part of its configure option/checks?
- Can we eliminate the need of its `HAS_ONLY_OPENGL_ES` define and just rely
on Qt's defines? From what I gathered if `QT_OPENGL_ES` is defined that means
the Qt build is configured for OpenGL ES only (dynamic OpenGL, i.e. ANGLE,
should not have it defined).
- OCIO needs OpenGL, but I thought it can also be used with OpenGL ES
(otherwise it wouldn't work with ANGLE)?
[1]: https://www.raspberrypi.org/forums/viewtopic.php?f=38&t=288461
[2]: https://bugreports.qt.io/browse/QTBUG-72128
--
You are receiving this mail because:
You are watching all bug changes.