-
Notifications
You must be signed in to change notification settings - Fork 118
windows
github-actions edited this page May 23, 2023
·
1 revision
Get a static build of Qt made built in our CI.
Unzip the folder and remember the location for the configure step.
Have miniconda installed.
Open Powershell and run Conda
conda init
You may need to enable powershell scripts.. You can call Set-ExecutionPolicy -ExecutionPolicy Unrestricted
For the setup you need to use powershell.
$ conda env create -f env.yml
$ conda activate vpn
# Setup the conda env for clang-cl compilation
$ ./scripts/windows/conda_setup_win_sdk.ps1
# Setup the conda env to use a prebuild Qt from Moz-CI
$ ./scripts/windows/conda_setup_win_qt.ps1
# Install conda Packages only needed on Windows
$ ./scripts/windows/conda_install_extras.ps1
# Reactivate the env to apply the changes:
$ conda deactivate
$ conda activate vpn
Make the build directory
mkdir build
Configure
cmake -S . -B build -GNinja
Compile
cmake --build build