-
Notifications
You must be signed in to change notification settings - Fork 12
Developers guide: Getting started
Narmamatov Kadyrbek edited this page Nov 21, 2017
·
6 revisions
Download SubutaiTray source tree.
- Download and install QT SDK. instruction. It's not recommended to use mingw because our build server uses qt with visual studio 2017 and related compiler. Also there is no need to rebuild libssh2, because we have built one (with all related lib, exp files) in our repo. If you want to use mingw or another compiler you have to rebuild libssh2 and move result
dll
,lib
andexp
files to SubutaiTray/libssh2/lib/win32 . - Add QT/bin to PATH. QT/bin here is folder containing qmake.exe, moc.exe etc. Qt installer asks about this path at the beginning of installation. Example :
F:\Programs\QT\Tools\QtCreator\bin
- Add
git
to PATH too. - Download OpenSSL libraries (libeay32.dll and ssleay32.dll are required) built with chosen compiler.
- Launch command line (our build server uses VS2017 CLI (x64 native)), go to source directory and run
build_win.bat "path_to_(libeay32.dll and ssleay32.dll)"
. - After successful build executable should be located in
src_dir\subutai_tray_bin
.
- Download and install XCode
- Download and install QT SDK. instruction
- Launch CLI and modify PATH like this :
export PATH=path_to_qmake_bin:$PATH
- Run
./build_mac.sh
- After successful build bundle SubutaiTray.app should be located in
src_dir\subutai_tray_bin\
- You can launch it with
open -a SubutaiTray.app
command
- You need to create static version of qt libraries. instruction
- Modify PATH like this :
export PATH=path_to_static_qt_bin:$PATH
- Run
./build_linux.sh
- After successful build executabble SubutaiTray should be located in
src_dir\subutai_tray_bin
.