Because the project contains submodules, you should
clone it with --recursive flag, like so:
git clone --recursive git@github.com:IS-CG/cg22-project-13.git
Firstly, make sure that Qt6 binaries are installed somewhere in the system.
There are 2 general strategies
- Installer from official qt's website.
- installs all needed dependencies
- installs some other stuff (5+ Gb)
- Local qt source building based on official guide
- deals with required modules only - faster and takes less disk space
On init-stage add--module-subset=qtbase, soOn configure stage it is not needed to make examples, addperl init-repository --module-subset=qtbase
-nomake examplesto safe your time.
We don't recommend to apply-nomake testssince there are some which help to detect unsatisfied dependencies (e.g., OpenGL implementation). - you have to load required dependencies (listed in the guide) before building.
- deals with required modules only - faster and takes less disk space
Secondly, we have to point CMake to those Qt6 binaries.
The <qt6 bin path> should look similarly to <Qt install dir>/6.3.2/gcc_64/.
Set cmake extension setting: "cmake.installPrefix": "<qt6 bin path>".
File -> Settings -> Build, Execution, Deployment -> CMake: set CMake options setting
to -DCMAKE_PREFIX_PATH=<qt6 bin path>.
After pointing cmake to qt6 binaries, the project should configure successfully. After configuring, the only step left is to compile everything normally.