Skip to content

add vendored Qt5 for cabana#24

Open
adeebshihadeh wants to merge 9 commits intomasterfrom
vendor-qt
Open

add vendored Qt5 for cabana#24
adeebshihadeh wants to merge 9 commits intomasterfrom
vendor-qt

Conversation

@adeebshihadeh
Copy link
Contributor

Summary

  • Adds qt5 package: Qt 5.15.2 (qtbase, qtcharts, qtserialbus) as shared libraries
  • Includes moc/rcc tools, platform plugins (xcb on Linux, cocoa on macOS), public headers
  • Adds X11/XCB/fontconfig build deps to setup.sh for manylinux and apt

Test plan

  • build_wheels.sh succeeds on all 3 platforms
  • smoketest.sh passes
  • CI green

Builds qtbase, qtcharts, qtserialbus 5.15.2 as shared libraries.
Includes moc/rcc tools, platform plugins, and minimal headers.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
adeebshihadeh and others added 8 commits February 25, 2026 11:51
Qt 5.15.2 missing #include <limits> causes build failure on modern
compilers (manylinux_2_28 arm64 has GCC 12+).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Qt 5.15.2 qmake configure uses 'printer' as the feature name,
not 'printsupport' (which is the module name).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add #include <limits> to qglobal.h (root header) so it propagates
to all Qt source files. Fixes qbytearraymatcher.h and others.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Qt 5.15.2 uses qmake-based configure, not CMake. The '--' separator
causes 'Unknown command line option' on macOS. -fPIC is already
default for shared builds.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Previous sed anchor pattern didn't exist in qglobal.h, so the
#include <limits> was never actually inserted.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Patching qglobal.h at line 1 broke the bootstrap qmake build which
doesn't have full C++ stdlib headers in its include path. Instead,
pass QMAKE_CXXFLAGS+="-include limits" via configure, which only
affects the main qmake-driven build (not bootstrap).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Qt 5.15.2 has missing <limits> includes that cause build failures
with modern compilers. 5.15.18 (community LTS) has these fixes
upstream, eliminating the need for source patches.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Tarball is named *-opensource-src-* but extracts to *-src-*.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant