Topics

Classes

Build QLayers

These are the steps to build QLayers from source-code with Microsoft Visual Studio (MSVC) on Windows.

1. Install Microsoft Visual Studio (2019 or higher)
  • Be sure to select Desktop development with C++ from Workloads
2. Install the Qt Visual Studio Tools extension
  • Launch VS
  • From the menu bar, select Extensions > Manage Extensions
  • Search for Qt Visual Studio Tools and download it
  • Exit VS for the extension to install
3. Install Qt 6.5.x for open source use
  • Download Qt Online Installer and run it
  • When you get to the section labeled Installation Folder, choose the Custom Installation option
  • When you get to the section labeled Select Components, select the following options:
    • Qt > Qt 6.5.x > MSVC 2019 64-bit
    • Qt > Developer and Designer Tools > OpenSSL 1.1.1q Toolkit
4. Link the downloaded Qt version with Visual Studio
  • Launch VS
  • From the menu bar, select Extensions > Qt VS Tools > Qt Versions
  • Under Version, click the option to add new Qt version
  • Label the version as 6.5
  • Under Path, click the folder icon and browse to the qmake executable from the Qt installation. It should be in the following directory:
    • ...\Qt\6.5.x\msvc2019_64\bin
5. Install Layers 0.17.x
6. Build QLayers
  • Clone the project from the GitHub repository:
    • https://github.com/TheLayersProject/QLayers.git
  • Open the solution file QLayers.sln
  • From the menu bar, select Build > Build Solution