Skip to content
Wesley edited this page Aug 7, 2015 · 13 revisions

You can build this on any platform!

Prerequisites

Qt

The latest master code of Sachesi requires Qt 5.2 or higher.

If you wish to use an earlier version, you may checkout v1.4.0 which requires Qt 4.8 or higher.

Platforms

Windows, Linux, OSX, BSD, Blackberry 10, Android and iOS.

Technically any platform that supports Qt will work. A few I can name off the top of my head: Haiku, Symbian, Meego/Maemo, Sailfish (requires newer gcc), Windows Phone.

Architectures

x86 and ARM on all platforms are known to work.

Build Instructions

Linux (Ubuntu 14.04)

  1. sudo apt-get install qt5-qmake libqt5network5 libqt5qml5 qtdeclarative5-settings-plugin qtdeclarative5-controls-plugin qtdeclarative5-dialogs-plugin qtdeclarative5-quicklayouts-plugin qtdeclarative5-window-plugin qtdeclarative5-qtquick2-plugin
  2. In the same directory as Sachesi.pro: qmake && make -j4
  3. ./Sachesi

Windows

You can compile this project with either MinGW or MSVC (2010, 2012 and 2013 have been tested).

  1. Either install the latest Qt with MinGW from qt-project.org or install Qt and Visual Studio.
  2. Install OpenSSL to C:\OpenSSL. For MinGW, I use: www.wittfella.com/openssl and for MSVC, I use: http://www.npcglib.org/~stathis/blog/precompiled-openssl/
  3. Open Sachesi.pro in QtCreator.
  4. Adjust the hardcoded paths set in QML.qrc to point to your qml files.
  5. Run

OSX

  1. Install the latest XCode.
  2. Install the latest Qt from qt-project.org.
  3. Install 'brew'.
  4. Install libusb from brew.
  5. You should be able to open Sachesi.pro in QtCreator and run it.

Android

Qt5.4 is recommended for Android, to achieve a native look. Otherwise, please use Ministro services to achieve the same styling.

  1. Install Android SDK and NDK with ABI of at least android-18.
  2. Install the latest Android Qt for your platform (Windows/Linux/OSX) from qt-project.org.
  3. Open Sachesi.pro and run.