Repository navigation
Fix build for newer Qt library and provide GitHub workflows - #2
Merged
Merged
Conversation
qt_add_lupdate(SOURCE_TARGETS zflash) was called before add_executable(zflash). Newer Qt LinguistTools query the target's autogen build directory immediately, so configuring fails with: get_property could not find TARGET zflash. Perhaps it has not yet been created. Older Qt versions resolved the target lazily, which hid the ordering problem. Move the call after add_executable() so it works with both. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Renê de Souza Pinto <rene@renesp.com.br>
Signing always used `signtool /a` with the DigiCert timestamp server, hard-coded in the post-build step and in both installer scripts, so there was no way to choose a specific certificate or to sign offline. Add two CMake options, used everywhere signtool is invoked: - IMAGER_SIGN_CERT_SHA1: thumbprint of the certificate to sign with (empty keeps the previous /a behaviour). - IMAGER_SIGN_TIMESTAMP_URL: RFC 3161 timestamp server (defaults to DigiCert; empty disables timestamping). Add build-win-selfsigned.ps1, which creates (or reuses/imports) a self-signed code signing certificate in Cert:\CurrentUser\My, exports its public part, optionally trusts it locally, and builds the signed application and installer. It can also sign arbitrary files. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Renê de Souza Pinto <rene@renesp.com.br>
There was a problem hiding this comment.
Orca Security Scan Summary
| Status | Check | Issues by priority | |
|---|---|---|---|
| Infrastructure as Code | View in Orca | ||
| OSS Licenses | View in Orca | ||
| SAST | View in Orca | ||
| Secrets | View in Orca | ||
| Vulnerabilities | View in Orca |
rene
force-pushed
the
fix-build-new-qt
branch
3 times, most recently
from
November 19, 2026 13:54
d9a1492 to
85a6dae
Compare
Add a build workflow that runs on every pull request and builds: - Linux: x86_64 AppImage (via create-appimage.sh, on Ubuntu 22.04) - Windows: x64 Inno Setup installer (Qt MinGW toolchain) - macOS: universal DMG Packages are attached to the run as artifacts. Add a manually triggered release workflow that reuses the build workflow, creates the GitHub release (tag defaults to v<version> from src/CMakeLists.txt, draft by default) and uploads the packages plus a SHA256SUMS file. Windows binaries can optionally be signed with a certificate provided through the WINDOWS_SIGNING_PFX and WINDOWS_SIGNING_PFX_PASSWORD secrets. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Renê de Souza Pinto <rene@renesp.com.br>
rene
force-pushed
the
fix-build-new-qt
branch
from
November 19, 2026 14:11
85a6dae to
9973fe5
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR provides some fixes and improvements to ZFlash