Skip to content

AndriiM14/TechCourse_2022_12

 
 

Repository files navigation

Build instructions

git clone https://github.com/kleroop/TechCourse_2022_12.git
cd TechCourse_2022_12
git clone https://github.com/Microsoft/vcpkg
vcpkg/bootstrap-vcpkg.sh  #.bat on windows

There are three ways of installing Qt5:

1. Debian-based distro (e.g. Ubuntu) way:

sudo apt install qtbase5-dev

2. Qt5 installer:

Download qt installer and check option to install libraries for whatever compiler/toolchain you're using

3. vcpkg source-based install (very slow)

vcpkg/vcpkg install qt5

Build instructions and cmake options:

-DCMAKE_TOOLCHAIN_FILE="vcpkg/scripts/buildsystems/vcpkg.cmake"
And in case of Qt5 installer add:
-DCMAKE_PREFIX_PATH=<QtInstallDir>/5.x.x/<your_compiler>/lib/cmake
in the "CMake options" field.

In CLion you can set options here:

File/Settings/Build, Execution, Deployment/CMake -> CMake options

cli:

cmake -S . -B <cmake options>
cmake --build build

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 59.6%
  • CMake 40.4%