Windows 10 & 11
This section contains instructions on how to setup your development environment in Windows 10 & 11 in order to compile the Skydel Plug-ins examples.
MSVC
Download latest Build Tools for Visual Studio 2019 online installer and install C++ build tools.
CMake
Download and install CMake. Make sure to add CMake to the system PATH during installation.
Ninja
Download and unzip ninja-win.zip to Program Files / ninja-win
From the search bar, search for Edit the system environment variables
Select Envrionment Variables...
Select Path in System variables and select Edit...
Select Browse... and find the folder Program Files / ninja-win (where you unziped ninja-win.zip)
After those steps, ninja should be accessible from anywhere
Git
Download and install latest git.
Perl
Download and install latest Perl, needed for Qt compilation.
QtCreator
Follow the instructions below to setup the QtCreator IDE:
Download qtcreator-windows-x64-msvc-10.0.1.7z and unzip to C:\Qt\QtCreator
Download qtcreatorcdbext-windows-x64-msvc-10.0.1.7z and unzip to C:\Qt\QtCreator such that you have C:\Qt\QtCreator\lib\qtcreatorcdbext64
Optional: To make accessing Qt Creator easier, navigate to C:\Qt\QtCreator\bin and launch qtcreator.exe. It may take some time to open the first time. Once it's open, you can pin the application to the taskbar for quicker access in the future.
OpenSSL
Since OpenSSL is required for Qt compilation, follow the instructions below to compile and install it:
powershell -Command "Invoke-WebRequest -Uri 'https://github.com/openssl/openssl/releases/download/OpenSSL_1_1_1w/openssl-1.1.1w.tar.gz' -OutFile 'C:\'"
cd /d "C:\"
tar -xzf "openssl-1.1.1w.tar.gz"
del "openssl-1.1.1w.tar.gz"
cd openssl-1.1.1w
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Auxiliary\Build\vcvars64.bat"
perl Configure VC-WIN64A
nmake
Qt
Once you've completed all the steps in the sections above, compile and install Qt using the following command:
cd /d "C:\"
git clone --branch v5.15.17-lts-lgpl --single-branch https://github.com/qt/qt5
cd qt5
perl init-repository --module-subset="qtbase,qtsvg,qtserialport"
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Auxiliary\Build\vcvars64.bat"
set CL=/MP
configure -prefix C:\Qt\5.15.17\msvc2019_64 -opensource -nomake tests -nomake examples -openssl-linked -I C:\openssl-1.1.1w\include -L C:\openssl-1.1.1w OPENSSL_LIBS="-lWs2_32 -lGdi32 -lAdvapi32 -lCrypt32 -lUser32 -llibssl_static -llibcrypto_static"
nmake
nmake install
Last updated