Install on Windows and use CMake to build
- Get the right version
- Download and install Qt Creator with CMAKE (once)
- Checkout to branch CMAKE_attempts
- Put your version of the branch up-to-date
- Update the vcpkg submodule (once) (For Qt creator users)
- Bootstrap vcpkg
- open a new project on Qt creator by selectiung the CMakeLists.txt file in the repo
The hardest part about the installation is to realize that using the correct version really matters. For this installation you will need to:
- Install QtCreator 5.15 or higher
- Make sure you are including CMake in the installation
1. Download and install Qt Creator (here)
Use all defaults, up until the Qt Maintenance tool is started. Here, you will need to check two boxes:
-
- For the highest (stable) Qt version
-
- The following tools:
2. Checkout to branch CMAKE_attempts
Do so by running git checkout CMAKE_attempts
Do so by running the command: git pull
Do so by running the command: git submodule update --init
FRom the root of the repository enter the folder named vcpkg
and double click on one of the 2 files named bootstrap-vcpkg
(one is specifically for windows the othe works for any OS)
Choose File -> Open File or Project
and then select the file name CMakeLists.txt
inside the repo. Configure the project as you see fit (possibly at least one configuration should be with MinGW). Qt should then be able to create your project.