1
0
Fork 0
mirror of https://github.com/eosswedenorg/antelope-keygen synced 2026-06-18 04:00:03 +02:00

README.md: Adding documentation for Qt.

This commit is contained in:
Henrik Hautakoski 2020-04-27 13:11:46 +02:00
parent a6c0cbcc4e
commit e26bc8097f

View file

@ -11,6 +11,8 @@ This program generates public and private keypair for [EOS](https://eos.io/)
You will need `libeosio` and `cmake 3.15` or later to compile this project.
`Qt 5.9.0` or later is required for the graphical program.
### Linux/MacOS
**NOTE:** Only Ubuntu 18.04 is officially supported.
@ -50,6 +52,19 @@ $ wget -O cmake.sh https://github.com/Kitware/CMake/releases/download/v3.15.5/cm
Other methods is documanted at https://cmake.org/download
**Qt (only for gui program)**
You will need to install `qt >= 5.9.0`
On **ubuntu** you can do this via `apt`
```
$ apt-get install qt5-default
```
For other distributions, download the official [qt-installer](https://www.qt.io/download-qt-installer).
It is recommended to install the latest stable version.
#### MacOS
**NOTE:** Support for MacOS is still experimental and may or may not work as expected.
@ -65,6 +80,14 @@ If you need a newer version of cmake, you can download the official `.dmg` file:
`libeosio` needs to be compiled and installed from source. [Go here](https://github.com/eosswedenorg/libeosio)
**Qt (only for gui program)**
This can be installed with brew.
```sh
$ brew install qt
```
#### Build
Run `./build.sh` to trigger cmake.
@ -87,7 +110,9 @@ Download and install `cmake` version `3.15` or newer from [cmake.org](https://cm
You will also need a compiler. [Build Tools for Visual Studio 2019](https://visualstudio.microsoft.com/thank-you-downloading-visual-studio/?sku=BuildTools&rel=16) (Selecting C++ during installation) is recommended.
**Qt (only for gui program)**
Download the official [qt-installer](https://www.qt.io/download-qt-installer) and follow the steps. It is recommended to install the latest stable version.
#### Build.
@ -105,6 +130,14 @@ C:\repo\build> cmake -D OPENSSL_ROOT_DIR="C:/path/to/openssl-1.1/x86" ..
C:\repo\build> cmake --build . --config Release
```
**Qt**
If you are compiling the gui program. you will need to point `cmake` to the location `qt` where installed. this can be done by the `CMAKE_PREFIX_PATH` variable:
```
C:\repo> cmake -D CMAKE_PREFIX_PATH="C:/path/to/qt/msvc2017_64"
```
## Compile options
These compile options are available: