-
Notifications
You must be signed in to change notification settings - Fork 52
Build Instructions
Wesley edited this page Aug 7, 2015
·
13 revisions
You can build this on any platform!
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.
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.
x86 and ARM on all platforms are known to work.
- 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
- In the same directory as Sachesi.pro: qmake && make -j4
- ./Sachesi
You can compile this project with either MinGW or MSVC (2010, 2012 and 2013 have been tested).
- Either install the latest Qt with MinGW from qt-project.org or install Qt and Visual Studio.
- 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/
- Open Sachesi.pro in QtCreator.
- Adjust the hardcoded paths set in QML.qrc to point to your qml files.
- Run
- Install the latest XCode.
- Install the latest Qt from qt-project.org.
- Install 'brew'.
- Install libusb from brew.
- You should be able to open Sachesi.pro in QtCreator and run it.
Qt5.4 is recommended for Android, to achieve a native look. Otherwise, please use Ministro services to achieve the same styling.
- Install Android SDK and NDK with ABI of at least android-18.
- Install the latest Android Qt for your platform (Windows/Linux/OSX) from qt-project.org.
- Open Sachesi.pro and run.