Skip to content

Qt 6 CI readiness: move workarounds into build system - #14

Open
iakov wants to merge 12 commits into
trikset:masterfrom
iakov:trikset
Open

iakov wants to merge 12 commits into
trikset:masterfrom
iakov:trikset

Conversation

@iakov

@iakov iakov commented Nov 30, 2026

Copy link
Copy Markdown
Member

Move Qt 6 CI workarounds from CI to build system

  • src/src.pro: conditional -Wl,--allow-multiple-definition for GCC+Qt6
    (avoids _Float16 ODR violations from GCC 14+ / Qt 6.7)
  • generator/generator.pri: conditional -Wno-implicit-function-declaration
    for Apple Clang ARM64+Qt6 (avoids __yield() from <qyieldcpu.h>)
  • src/src.pri: same __yield workaround for PythonQt library build
  • trikset.yml: remove hack flags from qt6-ubuntu and macos jobs;
    add DEFINES+=QT_DISABLE_DEPRECATED_BEFORE=0x050F00 for Qt6 CI

MinyazevR and others added 11 commits November 28, 2026 19:11
* Integrate the build system for the project

* Adapt to the original PythonQt

* Add log info

* Improve script

* Remove empty line
* Add CI for building PythonQt and generator on AltLinux
* Add `-platform minimal` for AltLinux build
* Correctly regenerate for Qt5.15.2
* Allow resolution of the Qt minor version
* Add symlink for fallback to Qt5.15.2
Add generated files for Qt5.10.1 for old TRIK firmware
For example, in AltLinux GCC does not know about -std=c++2b
In msys shell with MinGW Qt5 on GHA it converts path to `/c/hostedtoolscache` , but `gcc` does not recognize this path
@iakov
iakov force-pushed the trikset branch 6 times, most recently from a8aa3f1 to 9777998 Compare November 30, 2026 18:12
- .github/workflows/trikset.yml: 6-job CI with Qt5 (linux/win/mingw/cross)
  and Qt6 (ubuntu, macos) workflows, Python auto-detection
- build/common.prf: conditional -Wl,--allow-multiple-definition for GCC+Qt6
  (avoids _Float16 ODR violations from GCC 14+ / Qt 6.7)
- generator/generator.pri: conditional -Wno-implicit-function-declaration
  for Apple Clang ARM64+Qt6 (avoids __yield() from <qyieldcpu.h>)
- src/src.pri: same __yield workaround for PythonQt library build
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.

2 participants