Building on Windows - GermanAizek/qt5qml-oop-figures GitHub Wiki

Required programs and libs

  1. download any Windows git client and clone repository with url ( https://github.com/GermanAizek/qt5qml-oop-figures.git )
  • Example:
    • download git client git-scm.com
    • execute in cmd or powershell
    git clone --recurse-submodules https://github.com/GermanAizek/qt5qml-oop-figures.git
    cd qt5qml-oop-figures/container_figures
    
  1. download Qt5 for Windows: official site

  2. during the installation stage, select an optional component for your version of Visual Studio (example below) Installing a Component

Configure and build

  1. execute in cmd or powershell

    mkdir build && cd build
    cmake -DQt5_DIR="<path to Qt lib cmake>" ..
    # Example: cmake -DQt5_DIR="C:/Qt/5.6/msvc2013_64/lib/cmake/Qt5" ..
    
  2. open *.sln solution with Visual Studio

  3. build projects and run it