Commit 54e45cdb authored by Martin Straka's avatar Martin Straka

Updated build instructions

parent ee89a020
Required libraries
------------------
------------------------------------------------------------------------------
How to build and deploy application to the device or app store?
Guide in Czech is available on address:
https://gitlab.labs.nic.cz/datovka/mobile-datovka/wikis/build-instructions
- Qt5.x
- QML 2.3
------------------------------------------------------------------------------
Main requirements for build:
------------------------------------------------------------------------------
- Qt5.6 or later
- QML 2.3 or later
- Application requires the Qt sqlite database driver.
- OpenSSL
- OpenSSL (use crypto a cms)
Compilation on Linux
--------------------
------------------------------------------------------------------------------
Build for Linux like systems
------------------------------------------------------------------------------
1. qmake mobile-datovka.pro
2. make
qmake
make
------------------------------------------------------------------------------
Build and deployment for Android platform
------------------------------------------------------------------------------
You must install following tools (Windows/Linux):
- The Android SDK Tools (https://developer.android.com/studio/index.html)
- The Android NDK (https://developer.android.com/ndk/index.html)
- Apache Ant v1.8 or later (http://ant.apache.org/bindownload.cgi)
- Java SE Development Kit (JDK) v6 or later (http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html)
How to install these tools is described here: http://doc.qt.io/qt-5/androidgs.html
NOTE: Instructions for build and deployment of application to another platform will be added later.
- OpenSSL (use batch file in /adroid/openssl/ for build on Windows)
- On Windows, install SED for Windows (http://gnuwin32.sourceforge.net/packages/sed.htm)
- set path to SED binary (C:\Program Files (x86)\GnuWin32\bin\) to Windows PATH.
On Linux
--------
1. qmake mobile-datovka.pro
2. make
On Windows
----------
1. Run QtCreator, open mobile-datovka.pro, set target to android and build it.
------------------------------------------------------------------------------
Build and deployment for iOS platform
------------------------------------------------------------------------------
You must install following tools on OSX:
- Xcode 7 or later
- CommandLine tools for Xcode
- OpenSSL (use script file in /ios/openssl/ for build by Xcode)
1. Run QtCreator, open mobile-datovka.pro, set target to ios and run qmake.
2. Open generated project file in xcode.
3. Set provisioning profile and build it.
------------------------------------------------------------------------------
Build for Windows Phone/WinRT
------------------------------------------------------------------------------
You must install following tools on Windows:
- Visual Studio 2015 or later
- Add "Windows Phone 8.1 SDK" during installation
1. Run batch file in the root of project.
2. Open generated project file in VS2015
3. Set target and build it.
------------------------------------------------------------------------------
NOTE: Instructions for deployment of application to device and app stores will be added later.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment