Skip to content

Qt6 add patch file for recursion check#368

Open
guillaume-haerinck wants to merge 2 commits intoo3de:mainfrom
guillaume-haerinck:qt6-recursion
Open

Qt6 add patch file for recursion check#368
guillaume-haerinck wants to merge 2 commits intoo3de:mainfrom
guillaume-haerinck:qt6-recursion

Conversation

@guillaume-haerinck
Copy link
Copy Markdown
Contributor

@guillaume-haerinck guillaume-haerinck commented Mar 28, 2026

Changes

  • Build on top of Qt6 Updates #366.
  • Adds and apply a .patch file to prevent endless recursion when configuring QT6 in a project-centric setup.

What

During the configure step, QT is looping over the subdir cmake parameter of each targets. When we build the engine alongside the project, the cmake file in the project directory will include the engine cmake, which in turn will include the project directory. In my opinion, o3de's logic is not wrong, we are just dealing with cmake restrictions and a bad design on QT side.

Further explained in discord.

Signed-off-by: guillaume-haerinck <guillaume.haerinck@outlook.com>
Signed-off-by: guillaume-haerinck <guillaume.haerinck@outlook.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.

2 participants