Skip to content

Improve cross-compiling ARM64 on Windows - #13727

Open
droidmonkey wants to merge 3 commits into
developfrom
fix/build-fixes
Open

droidmonkey wants to merge 3 commits into
developfrom
fix/build-fixes

Conversation

@droidmonkey

Copy link
Copy Markdown
Member
  • Fix using the specified QT_HOST_PATH for executables
  • Fix setting the Visual Studio environment for cross-compilingNOTE: # ( Describe your changes in detail. Explain large or complex code modifications. )
  • Fix deploying qtbase translations with Qt6
  • Remove legacy qt.conf deployment

Testing strategy

Tested building new 2.8.0 snapshots with success

Type of change

  • ✅ Bug fix (non-breaking change that fixes an issue)

@droidmonkey droidmonkey added this to the v2.8.0 milestone Sep 30, 2026
Copilot AI balanced review requested due to automatic review settings September 30, 2026 04:06

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

Qt6_PREFIX is used before initialization and remains unset in important configurations.

Review effort: Balanced
Findings: 1 High severity

Open (1)
What changed in this PR

Improves Windows ARM64 cross-compilation and Qt deployment behavior.

Changes:

  • Uses host Qt and Visual Studio tools for cross-compilation.
  • Corrects Qt6 translation deployment and removes legacy qt.conf.
  • Updates the default signing timestamp service.
File Description
CMakeLists.txt Revises Qt deployment-tool discovery.
release-tool.py Configures Visual Studio host architecture and timestamping.
share/​CMakeLists.txt Removes legacy qt.conf installation.
share/​translations/​CMakeLists.txt Corrects the Qt6 translation path.
share/​windows/​qt.conf Deletes obsolete Windows Qt configuration.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread CMakeLists.txt Outdated
* Fix using the specified QT_HOST_PATH for executables
* Fix setting the Visual Studio environment for cross-compiling
Copilot AI balanced review requested due to automatic review settings September 30, 2026 04:22

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

The refactor leaves Qt6_PREFIX undefined, breaking translation and certificate discovery.

Review effort: Balanced
Findings: 1 High severity

Open (1)
Resolved since last review (1)

Comment thread CMakeLists.txt
Comment on lines 509 to +510
if(_deployqt_exe_name)
# Check if the Qt host path is specified or if we need to determine it based on the build configuration
@codecov

codecov Bot commented Sep 30, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 63.27%. Comparing base (9e0f57a) to head (9caa7fd).

Additional details and impacted files
@@             Coverage Diff             @@
##           develop   #13727      +/-   ##
===========================================
- Coverage    63.33%   63.27%   -0.06%     
===========================================
  Files          388      388              
  Lines        41288    41288              
===========================================
- Hits         26147    26123      -24     
- Misses       15141    15165      +24     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@phoerious phoerious left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check the Copilot complaint. Rest looks good to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants