Skip to content

feat: Add Windows ARM64 support - #1128

Open
lingyicute wants to merge 1 commit into
dail8859:masterfrom
lingyicute:master
Open

feat: Add Windows ARM64 support#1128
lingyicute wants to merge 1 commit into
dail8859:masterfrom
lingyicute:master

Conversation

@lingyicute

Copy link
Copy Markdown

Solve #730

- build.yml: add native windows-11-arm jobs (Qt 6.8/6.10, the only versions with ARM64 binaries), install Qt win64_msvc2022_arm64, use the arm64 VS environment, and upload/publish -arm64 artifacts
- PackagingWindows.cmake: only ship the OpenSSL DLLs for x64 builds; ARM64 uses Qt's Schannel TLS backend
- installer.nsi: only embed the OpenSSL DLLs when present in the package

No C++ changes are required: as far as I know, the code and all thirdparty dependencies are architecture-neutral.
@github-actions github-actions Bot added the installer Installer related issues or enhancements label Sep 12, 2026
@matthewyang204

matthewyang204 commented Sep 12, 2026

Copy link
Copy Markdown
Contributor

Seems to work fine. Demo video:
https://drive.google.com/file/d/1Mp3U0jyQCQNYxPczVOQq86WBUijXeQfW/view?usp=sharing
For reference, I used a copy of the installer obtained from the Actions run.

@dail8859

Copy link
Copy Markdown
Owner

Appreciate the PR and glad to see it is working and especially the installer!

My one caution would be related to the application's auto-updater (which is the reason for the libcrypto dependency). Right now the application is pointed to check https://github.com/dail8859/NotepadNext/blob/master/updates.json which is just the x64 installer so the ARM version would end up pulling down the x64 installer and then fail to launch it.

For the time being it may be preferrable to disable the auto-update feature on arm. I did also see that the QSimpleUpdater has a custom platform key that can be set here https://github.com/alex-spataru/QSimpleUpdater/blob/c5c136c0f79ca6423b0914a2676ae3d0e3811c5b/src/Updater.cpp#L350 and then that will force it to check for a new key rather than just "windows".

@dail8859 dail8859 added the windows Related specifically to Windows label Sep 12, 2026
@matthewyang204

Copy link
Copy Markdown
Contributor

We could just have it look for a download-url-arm64 key or something instead, and I think it would just update to that instead.

@dail8859 dail8859 mentioned this pull request Sep 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

installer Installer related issues or enhancements windows Related specifically to Windows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants