mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-04 15:39:34 +01:00
Updated vcpkg instructions
@@ -12,17 +12,14 @@ We recommend building KeePassXC using Visual Studio to maximize feature availabi
|
||||
|
||||
3. (Optional) Instead of the entire IDE, you may install [Visual Studio Build Tools](https://visualstudio.microsoft.com/downloads/#build-tools-for-visual-studio-2022) and use [VSCode](https://code.visualstudio.com/download) as an IDE.
|
||||
|
||||
### Install vcpkg and Dependencies
|
||||
**Recommended Option:**
|
||||
### Install vcpkg
|
||||
Since release 2.7.7, KeePassXC uses vcpkg's manifest option. This greatly simplifies dependency management, but you need to install vcpkg first to use the capability. Once vcpkg is installed then you simply build KeePassXC to have all appropriate dependencies built for you. Note the first build may take up to several hours to complete due to Qt5.
|
||||
|
||||
KeePassXC provides a pre-built dependency bundle to save time building them yourself. Simply download and unzip the pre-built dependency package to a folder of your choice. Download here: https://keepassxc.dmapps.us/vcpkg-export.zip
|
||||
|
||||
**Alternative Option:**
|
||||
1. Download and install vcpkg: https://vcpkg.io/en/getting-started.html
|
||||
|
||||
2. Open a command prompt to the vcpkg directory and run the following command. This will take up to an hour to complete the build process.
|
||||
2. Be sure to follow every step including bootstrapping vcpkg
|
||||
|
||||
`.\vcpkg.exe install argon2 botan minizip qt5 qt5-svg qt5-tools qt5-imageformats qt5-translations readline zlib libqrencode --triplet=x64-windows`
|
||||
3. Periodically, you should update vcpkg repository by opening a command prompt, going to vcpkg folder, and executing `git pull`. This will download the latest ports and require a rebuild of the cache the next time you build KeePassXC.
|
||||
|
||||
### Install Asciidoctor
|
||||
1. Download and install Ruby without devkit: https://rubyinstaller.org/downloads/
|
||||
@@ -33,7 +30,7 @@ KeePassXC provides a pre-built dependency bundle to save time building them your
|
||||
|
||||
3. In the same command prompt, test the install by running: `asciidoctor`
|
||||
|
||||
## Setup MSYS Environment
|
||||
## (DEPRECATED) Setup MSYS Environment
|
||||
_Building using MSYS is deprecated, we no longer recommend this method._
|
||||
|
||||
### Install the build environment
|
||||
|
||||
Reference in New Issue
Block a user