Commit Graph
20 Commits
Author SHA1 Message Date
Janek Bevendorff 1e373cf036 Remove AppDir output and force qmake6 2026-10-23 15:44:56 +02:00
Janek Bevendorff 9a58a0e128 Support cross-platform AppImage builds 2026-10-20 23:29:47 -04:00
Jonathan White 6c686af438 Improve cross-compiling ARM64 on Windows
* Fix using the specified QT_HOST_PATH for executables
* Fix setting the Visual Studio environment for cross-compiling
2026-10-20 11:06:53 +02:00
Janek Bevendorff aabfb3858b Exclude libcrypto and libssl from AppImage
Fixes #13774
2026-10-18 15:26:29 -04:00
Janek Bevendorff fd603849ee Add --override-version option 2026-09-20 21:46:58 -04:00
2b58033398 Add native Windows Arm64 support on Qt-vcpkg builds (#13678)
* Add minimal native Windows Arm64 support

Extend the Qt-via-vcpkg work from #13473 with only the source changes required for Windows Arm64 triplet selection, deployqt resolution, ordered runtime dependency deployment, and architecture-correct MSI metadata.

Co-authored-by: Janek Bevendorff <[email protected]>
Co-authored-by: Copilot <[email protected]>

---------

Co-authored-by: Gordon Lam (SH) (from Dev Box) <[email protected]>
Co-authored-by: Janek Bevendorff <[email protected]>
Co-authored-by: Copilot <[email protected]>
2026-09-20 23:59:34 +02:00
Janek Bevendorff 84f5e58c29 Add -DWITH_BUILD_QT CMake option and --build-qt release-tool flags to build Qt6 via vcpkg instead of using binaries from the system
Also advance vcpkg baseline to pull in Qt 6.11 and to fix compilation
with macOS SDK 26.
2026-09-14 14:31:24 -04:00
Jonathan White 740bbbd65b Fix missing -D in cmake opts setting
* Bug found using copilot review
2026-06-28 23:56:27 -04:00
Toni Spets 962a0b966d Use qmake6 for AppImage builds
Our CI build images have both Qt5 and Qt6 and the default qmake is for
Qt5. This confuses linuxdeploy and it needs a hint.
2026-06-24 17:09:30 -04:00
Jonathan Whiteandvarjolintu aa0cac5c03 Refactor: move to simple default builds (#11003)
* Remove individual feature flags in favor of a single `KPXC_MINIMAL` flag that removes advanced features from the build. Basic features are no longer guarded by feature flags.
* Basic features: Auto-Type, Yubikey, KeeShare
* Advanced features include: Browser (and passkeys), SSH Agent, and Secret Service
* Networking, Documentation, and Update Checking remain as feature flags to accommodate various distro requirements.

This change also cleans up the main CMakeLists.txt by re-arranging some content and placing macros into a dedicated include file. The minimum CMake version was bumped to 3.16.0 to conform to our minimum Ubuntu support of Focal (20.04). This also allows us to default to C++20, we fall back to C++17 for Qt versions less than 5.15.0 due to lack of support.

Lastly this change removes the KEEPASSXC_BUILD_TYPE="PreRelease" which is never used. We only support "Snapshot" and "Release" now.

Additional cleanup of CMakeLists:

1. Removed always-true CMake version guard  if(CMAKE_VERSION >= 3.14.0)

2. Removed dead GCC 4.8 stack protector fallback; C++20 requires GCC 10+, and -fstack-protector-strong has been available since GCC 4.9.

3. Removed dead ASan LSan version guard for the same reason.

4. Converted set_target_properties( COMPILE_DEFINITIONS) to target_compile_definitions() on both keepassxc_core and keepassxc_gui. Both are now PRIVATE since the symbol is an internal build detail.

5. Scoped Qt5Gui_PRIVATE_INCLUDE_DIRS to keepassxc_gui preventing Qt-internal headers from leaking into every target in the build.

6. Use cmake_parse_arguments to cleanup test case definition macros. Remove test output formats as they are never used and can be controlled when tests are run.

* moved /fsanitize=address to compile options instead of definitions for MSVC builds

---------

Co-authored-by: varjolintu <[email protected]>
2026-04-18 22:37:30 -04:00
Janek Bevendorff d5f7614e06 Create output dir if it does not exist and revert previous patch
This reverts commit 36a26308d0.
2026-03-12 23:34:04 +01:00
Janek Bevendorff 36a26308d0 Fix indentation error in BuildSrc 2026-03-10 02:35:42 +01:00
Janek Bevendorff 5bd42c4725 Check version in vcpkg.json and appstream XML well-formedness, add translator listing (#12968)
* Check version in vcpkg.json and appstream XML well-formedness

* Move translator list utility to release-tool
2026-01-18 16:45:29 +01:00
Janek Bevendorff 967dc5937f Fix Docker run cwd 2025-11-25 01:48:22 +01:00
Jonathan White adba5095c3 Fix AppImage not finding Auto-Type library
* Fixes #12719 and Fixes #12721
* Also fixes missing <ul> in the appdata xml
2025-11-25 01:48:22 +01:00
Jonathan White cb24df7aae Add explicit encoding when reading text from files 2025-11-24 11:52:08 +01:00
Janek Bevendorff 0f3def03b6 Fix release-tool merge cmd and rename to "tag" 2025-11-24 11:52:08 +01:00
Janek Bevendorff 4e59c1c579 Integrate macOS code signing into CMake
Moves code signing from the release-tool to CMake and unifies the Windows-equivalent code.
2025-11-22 17:51:02 -05:00
Jonathan White 61fdb85a3c release-tool: Move appimage zsync file to output dir (#12597) 2025-10-26 08:48:57 -04:00
Janek Bevendorff 33a747d5bc Migrate release-tool to Python 2025-10-25 21:07:58 +02:00