Build from source

English

Obtain Source code

https://github.com/qtplatz

Toolchain

To build qtplatz source, it requires C++11 complient compiler, and boost library.  Compilers listed below are currently supported;

 

  1. Microsoft Windows 7/8
    • ​Visual Studio 2013 (VC++12)
    • Visual Studio 2015 (VC++14)
  2. ​Mac OS 10.7, 10.8, 10.9
    • ​​Apple LLVM version 6.0 (clang-600.0.51, come with Xcode 6.0)
  3. ​Debian 8 jessie
    • gcc-4.9
  4. ​Raspbian (2014-09-09-raspbian.img)
    • arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian toolchain
  5. ​Debian 8 (Jessie) MultiArch for ARM Linux

​Since QtPlatz V3.1.4, build process was transformed to CMake 3.0 instead of qmake.  Example cmake run on each platform/targets are below;

Windows7/8 64bit (using VisualStudio 12 Command promppt

mkdir build; cd build
cmake -G "Visual Studio 12 Win64" ..

Linux and Mac OS X

mkdir build; cd build
cmake ..

Linux cross build for ARM (Cycron V SoC) target.

mkdir build-soc; cd build-soc
cmake cmake -DCMAKE_TOOLCHAIN_FILE=../../toolchain-helio.cmake -DCMAKE_PREFIX_PATH=/usr/local/qt5 ..

Above command assume qt5 target libraries are located on ${CMAKE_FIND_ROOT_PATH}/usr/local/qt5; CMAKE_FIND_ROOT_PATH is a variable defined in toolchain-helio.cmake file;

User login